From: Richard Stallman Date: Sat, 31 Oct 1992 21:26:20 +0000 (+0000) Subject: (__builtin_vec_new): #undef NULL before including stdio.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98126ed6a4064896d8aa157e3f21d9de35830a32;p=gcc.git (__builtin_vec_new): #undef NULL before including stdio.h. (pyramid __enable_execute_stack): Ditto. From-SVN: r2668 --- 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