aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gcc.gnu.org>1996-03-20 01:08:11 +0000
committerRoland McGrath <roland@gcc.gnu.org>1996-03-20 01:08:11 +0000
commit375826d208867401acfccbadd827ed5615128e9c (patch)
tree1ea91a68f7d5d7c7f4613610b5abcd282e790bac /gcc
parent86a0a7b3d70bc39b282ca285e397319d580e968e (diff)
downloadgcc-375826d208867401acfccbadd827ed5615128e9c.zip
gcc-375826d208867401acfccbadd827ed5615128e9c.tar.gz
gcc-375826d208867401acfccbadd827ed5615128e9c.tar.bz2
(NULL): Define only if not already defined.
From-SVN: r11569
Diffstat (limited to 'gcc')
-rw-r--r--gcc/alloca.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/alloca.c b/gcc/alloca.c
index 12c1122..31fb4e0 100644
--- a/gcc/alloca.c
+++ b/gcc/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