summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index f46194dd62f..e01e7e17f93 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -4927,7 +4927,7 @@ input_available_signal (signo)
extern int select_alarmed;
#endif
-#if defined(USG) && !defined(POSIX_SIGNALS)
+#ifdef USG
/* USG systems forget handlers when they are used;
must reestablish each time */
signal (signo, input_available_signal);
@@ -7365,7 +7365,7 @@ interrupt_signal (signalnum) /* If we don't have an argument, */
/* Must preserve main program's value of errno. */
int old_errno = errno;
-#if defined(USG) && !defined(POSIX_SIGNALS)
+#ifdef USG
if (!read_socket_hook && NILP (Vwindow_system))
{
/* USG systems forget handlers when they are used;