]> code.delx.au - gnu-emacs/blobdiff - src/regex.c
Merge from trunk.
[gnu-emacs] / src / regex.c
index 92264ccae23fc9781dd121d323bcf72dc2d1f3d9..17562043df1e1cce048e4b054fe109edb9431b28 100644 (file)
@@ -1831,9 +1831,9 @@ typedef struct
 /* The next available element.  */
 #define COMPILE_STACK_TOP (compile_stack.stack[compile_stack.avail])
 
-/* Explicit quit checking is only used on NTemacs and whenever we
-   use polling to process input events.  */
-#if defined emacs && (defined WINDOWSNT || defined SYNC_INPUT) && defined QUIT
+/* Explicit quit checking is needed for Emacs, which uses polling to
+   process input events.  */
+#ifdef emacs
 extern int immediate_quit;
 # define IMMEDIATE_QUIT_CHECK                  \
     do {                                       \