Commit 7324d660 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(wait_reading_process_input): Use SIGIO only if defined.

parent 74da8749
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment