aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath1996-03-20 01:08:11 +0000
committerRoland McGrath1996-03-20 01:08:11 +0000
commit4fd2d8e9bc8e21ba86755679abe8465eb5408b5a (patch)
tree3ca2c077e5fa2961220c528ff12bf570620638fa
parent029c99a369e8dfedc3055f0af3ded863c37fc1e6 (diff)
downloademacs-4fd2d8e9bc8e21ba86755679abe8465eb5408b5a.tar.gz
emacs-4fd2d8e9bc8e21ba86755679abe8465eb5408b5a.zip
(NULL): Define only if not already defined.
-rw-r--r--src/alloca.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/alloca.c b/src/alloca.c
index 12c1122981c..31fb4e0d4e0 100644
--- a/src/alloca.c
+++ b/src/alloca.c
@@ -73,7 +73,9 @@ typedef void *pointer;
73typedef char *pointer; 73typedef char *pointer;
74#endif 74#endif
75 75
76#ifndef NULL
76#define NULL 0 77#define NULL 0
78#endif
77 79
78/* Different portions of Emacs need to call different versions of 80/* Different portions of Emacs need to call different versions of
79 malloc. The Emacs executable needs alloca to call xmalloc, because 81 malloc. The Emacs executable needs alloca to call xmalloc, because