From 98126ed6a4064896d8aa157e3f21d9de35830a32 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 31 Oct 1992 21:26:20 +0000 Subject: [PATCH] (__builtin_vec_new): #undef NULL before including stdio.h. (pyramid __enable_execute_stack): Ditto. From-SVN: r2668 --- gcc/libgcc2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 70bd258917e..8d348729e8b 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -1226,6 +1226,7 @@ __builtin_new (sz) #ifdef L_caps_New /* This gets us __GNU_LIBRARY__. */ +#undef NULL /* Avoid errors if stdio.h and our stddef.h mismatch. */ #include #ifdef __GNU_LIBRARY__ @@ -1499,6 +1500,7 @@ __enable_execute_stack () #ifdef __pyr__ +#undef NULL /* Avoid errors if stdio.h and our stddef.h mismatch. */ #include #include #include -- 2.30.2