summaryrefslogtreecommitdiff
path: root/src/process.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-11-17 20:33:40 +0200
committerEli Zaretskii <eliz@gnu.org>2021-11-17 20:33:40 +0200
commitbf04c19cdd08baa5e5e90ccdba8aa9c0449c7fab (patch)
treed425cff521028ee373b13165ca477176278f3a7d /src/process.c
parentd4e2915dab13da38ce2b7ab63b5c8b0ffb9b9df8 (diff)
Fix recent changes related to USABLE_SIGIO
* src/process.c (wait_reading_process_output) [WINDOWSNT]: * src/keyboard.c (handle_async_input) [DOS_NT]: Ifdef away the code that is not needed on MS-Windows. (Bug#50403) (Bug#51820)
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 808bf6f1ff9..a00426795b8 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5588,7 +5588,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
timeout = make_timespec (0, 0);
#endif
-#ifndef USABLE_SIGIO
+#if !defined USABLE_SIGIO && !defined WINDOWSNT
/* If we're polling for input, don't get stuck in select for
more than 25 msec. */
struct timespec short_timeout = make_timespec (0, 25000000);