]> code.delx.au - gnu-emacs/commitdiff
Test DO_BLOCK_INPUT rather than `emacs'
authorRichard M. Stallman <rms@gnu.org>
Fri, 9 May 2003 13:54:14 +0000 (13:54 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 9 May 2003 13:54:14 +0000 (13:54 +0000)
for use of BLOCK_INPUT and inclusion of lisp.h and blockinput.h.

src/alloca.c

index ec70d2ad9a183f29364db400193599b621860bbc..85e5d73c2d709d5089c7a8028c5c4164051fd5b6 100644 (file)
@@ -32,7 +32,7 @@
 # include <stdlib.h>
 #endif
 
-#ifdef emacs
+#ifdef DO_BLOCK_INPUT
 # include "lisp.h"
 # include "blockinput.h"
 #endif
@@ -196,7 +196,7 @@ alloca (size)
   {
     register header *hp;       /* Traverses linked list.  */
 
-#  ifdef emacs
+#  ifdef DO_BLOCK_INPUT
     BLOCK_INPUT;
 #  endif
 
@@ -215,7 +215,7 @@ alloca (size)
 
     last_alloca_header = hp;   /* -> last valid storage.  */
 
-#  ifdef emacs
+#  ifdef DO_BLOCK_INPUT
     UNBLOCK_INPUT;
 #  endif
   }