summaryrefslogtreecommitdiff
path: root/src/w32term.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2009-01-30 13:06:07 +0000
committerJuanma Barranquero <lekktu@gmail.com>2009-01-30 13:06:07 +0000
commit07a1e794413237cc72419a965ad88f0592a69e9c (patch)
tree5df68d813475b49eba7095469780cb3294e03a48 /src/w32term.c
parent5e36bc052b3bec251684eee0db8bfed9f9cca342 (diff)
downloademacs-07a1e794413237cc72419a965ad88f0592a69e9c.tar.gz
* atimer.c (run_timers, alarm_signal_handler):
* keyboard.c (pending_signals, handle_async_input, init_keyboard): * w32inevt.c (w32_console_read_socket): * w32term.c (w32_read_socket): * xterm.c (XTread_socket): Use "#ifdef SYNC_INPUT" where appropriate.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/w32term.c b/src/w32term.c
index bcdadc4b22b..6e2f9ffa4dc 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -4078,12 +4078,16 @@ w32_read_socket (sd, expected, hold_quit)
if (interrupt_input_blocked)
{
interrupt_input_pending = 1;
+#ifdef SYNC_INPUT
pending_signals = 1;
+#endif
return -1;
}
interrupt_input_pending = 0;
+#ifdef SYNC_INPUT
pending_signals = pending_atimers;
+#endif
BLOCK_INPUT;
/* So people can tell when we have read the available input. */