OSDN Git Service

(NULL): Define only if not already defined.
authorroland <roland@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Mar 1996 01:08:11 +0000 (01:08 +0000)
committerroland <roland@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Mar 1996 01:08:11 +0000 (01:08 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11569 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/alloca.c

index 12c1122..31fb4e0 100644 (file)
@@ -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