aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-07-16 20:27:08 +0200
committerLars Magne Ingebrigtsen2011-07-16 20:27:08 +0200
commitdd88932771fc7b16428b185fe93f7f696b489c7e (patch)
tree89ca5aa336102c9d2e7b4b5e65d896625eeddc43 /src/process.c
parent011b0ad6b50df387f266e86cf818810a16e9f01f (diff)
downloademacs-dd88932771fc7b16428b185fe93f7f696b489c7e.tar.gz
emacs-dd88932771fc7b16428b185fe93f7f696b489c7e.zip
Use the same condition for POLL_FOR_INPUT in both keyboard.c and process.c
Fixes: debbugs:1858
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 1a884357b86..236c27e5c3a 100644
--- a/src/process.c
+++ b/src/process.c
@@ -245,7 +245,7 @@ static void create_pty (Lisp_Object);
245 245
246/* If we support a window system, turn on the code to poll periodically 246/* If we support a window system, turn on the code to poll periodically
247 to detect C-g. It isn't actually used when doing interrupt input. */ 247 to detect C-g. It isn't actually used when doing interrupt input. */
248#ifdef HAVE_WINDOW_SYSTEM 248#if defined(HAVE_WINDOW_SYSTEM) && !defined(USE_ASYNC_EVENTS)
249#define POLL_FOR_INPUT 249#define POLL_FOR_INPUT
250#endif 250#endif
251 251