aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2003-05-09 13:54:14 +0000
committerRichard M. Stallman <[email protected]>2003-05-09 13:54:14 +0000
commit46158a353b4072cfd75650e3296c90b4008b6420 (patch)
tree1c9ae57bc212f2448cb1fca2b8a2b0b63e0bde1c /src
parent75e2fcb63a6fcea329ad2e701d171a0d33235ef1 (diff)
Test DO_BLOCK_INPUT rather than `emacs'
for use of BLOCK_INPUT and inclusion of lisp.h and blockinput.h.
Diffstat (limited to 'src')
-rw-r--r--src/alloca.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/alloca.c b/src/alloca.c
index ec70d2ad9a..85e5d73c2d 100644
--- a/src/alloca.c
+++ b/src/alloca.c
@@ -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
}