OSDN Git Service

[Refacotr] #37353 使われていないプリプロUSE_TPOSIXを部分的に削除 / Removed unused preprocessors USE_TPO...
authorHourier <hourier@users.sourceforge.jp>
Wed, 29 Jan 2020 12:03:37 +0000 (21:03 +0900)
committerHourier <hourier@users.sourceforge.jp>
Wed, 29 Jan 2020 12:03:37 +0000 (21:03 +0900)
src/h-config.h
src/main-cap.c
src/main-gcu.c

index 130d4dc..1c75c72 100644 (file)
  * important compile time options, like what visual module to use.
  */
 
-
-/*
- * OPTION: Use the POSIX "termios" methods in "main-gcu.c"
- */
-/* #define USE_TPOSIX */
-
 /*
  * OPTION: Use the "termio" methods in "main-gcu.c"
  */
index 96682a5..ced6979 100644 (file)
@@ -40,7 +40,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
@@ -52,8 +51,6 @@
 #   endif
 #  endif
 # endif
-#endif
-
 
 
 /*
index 4846175..82f4a76 100644 (file)
@@ -198,7 +198,6 @@ static term_data data[MAX_TERM_DATA];
  * 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
@@ -210,7 +209,6 @@ static term_data data[MAX_TERM_DATA];
 #   endif
 #  endif
 # endif
-#endif
 
 /*
  * Hack -- Amiga uses "fake curses" and cannot do any of this stuff