OSDN Git Service

[Feature] #40463 HANDLE_SIGNALS プリプロセッサの廃止. / Abolition of HANDLE_SIGNALS.
authordeskull <deskull@users.sourceforge.jp>
Wed, 6 Jan 2021 14:47:02 +0000 (23:47 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Wed, 6 Jan 2021 14:47:02 +0000 (23:47 +0900)
十分安定した機能である上、POSIX準拠を外れた環境を想定することは今後考えないので常にTRUEとする。

src/io/signal-handlers.c
src/system/h-config.h

index 151c6c8..b081874 100644 (file)
@@ -18,8 +18,6 @@
 
 s16b signal_count; /* Hack -- Count interupts */
 
-#ifdef HANDLE_SIGNALS
-
 #include <signal.h>
 
 /*!
@@ -257,23 +255,3 @@ void signals_init(void)
 #endif
 }
 
-#else
-
-/*!
- * @brief ダミー /
- * Do nothing
- */
-void signals_ignore_tstp(void) {}
-
-/*!
- * @brief ダミー /
- * Do nothing
- */
-void signals_handle_tstp(void) {}
-
-/*!
- * @brief ダミー /
- * Do nothing
- */
-void signals_init(void) {}
-#endif
index 967d625..beac11d 100644 (file)
 # define SAFE_SETUID_POSIX
 #endif
 
- /*
- * OPTION: Handle signals
- */
-#define HANDLE_SIGNALS
-
 /*
  * OPTION: Set the "default" path to the angband "lib" directory.
  *