]> git.eshelyaron.com Git - emacs.git/commitdiff
(wait_reading_process_input): Use SIGIO only if defined.
authorRichard M. Stallman <rms@gnu.org>
Tue, 29 Jun 1993 16:53:32 +0000 (16:53 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 29 Jun 1993 16:53:32 +0000 (16:53 +0000)
src/process.c

index 4c2fa5d7c000059a57f6607ff4bb9bb26e4f1d41..95d6846f9a32f76e03b76e572d5d04dce53f697b 100644 (file)
@@ -3190,8 +3190,10 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
        /* System sometimes fails to deliver SIGIO.  */
        kill (getpid (), SIGIO);
 #endif
+#ifdef SIGIO
       if (XINT (read_kbd) && interrupt_input && (waitchannels & 1))
        kill (0, SIGIO);
+#endif
 
       /* If we have timed out (nfds == 0) or found some input (nfds > 0),
         we should exit.  */