From: Richard M. Stallman Date: Fri, 9 May 2003 13:54:14 +0000 (+0000) Subject: Test DO_BLOCK_INPUT rather than `emacs' X-Git-Tag: ttn-vms-21-2-B4~10231 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/46158a353b4072cfd75650e3296c90b4008b6420 Test DO_BLOCK_INPUT rather than `emacs' for use of BLOCK_INPUT and inclusion of lisp.h and blockinput.h. --- 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 #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 }