OSDN Git Service

v3.0.0 Alpha5 OSDN最終版
[hengband/hengband.git] / src / main-cap.c
index 96682a5..ab26706 100644 (file)
@@ -2,7 +2,8 @@
 
 /* Purpose: Support for "term.c" using "termcap" calls */
 
-#include "angband.h"
+#include "system/angband.h"
+#include "io/exit-panic.h"
 
 #ifdef USE_CAP
 
@@ -40,8 +41,6 @@
  * Mega-Hack -- try to guess when "POSIX" is available.
  * If the user defines two of these, we will probably crash.
  */
-#if !defined(USE_TPOSIX)
-# if !defined(USE_TERMIO) && !defined(USE_TCHARS)
 #  if defined(_POSIX_VERSION)
 #   define USE_TPOSIX
 #  else
 #    define USE_TCHARS
 #   endif
 #  endif
-# endif
-#endif
-
-
 
 /*
  * POSIX stuff