summaryrefslogtreecommitdiff
path: root/alloca.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1996-03-20 01:08:11 +0000
committerRoland McGrath <roland@redhat.com>1996-03-20 01:08:11 +0000
commit46a1497b8ee48c13be1aa46ddd525c315ebc0cbf (patch)
treef5861d5995ced05644c11d7d95ac11e2f91bc288 /alloca.c
parent4603f9f8c61ecbc12e83e4d0721e4414a30f1f4b (diff)
downloadgunmake-46a1497b8ee48c13be1aa46ddd525c315ebc0cbf.tar.gz
(NULL): Define only if not already defined.
Diffstat (limited to 'alloca.c')
-rw-r--r--alloca.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/alloca.c b/alloca.c
index 12c1122..31fb4e0 100644
--- a/alloca.c
+++ b/alloca.c
@@ -73,7 +73,9 @@ typedef void *pointer;
typedef char *pointer;
#endif
+#ifndef NULL
#define NULL 0
+#endif
/* Different portions of Emacs need to call different versions of
malloc. The Emacs executable needs alloca to call xmalloc, because