* gen-params: Override NULL.

From-SVN: r16232
This commit is contained in:
Jason Merrill 1997-10-30 06:00:21 +00:00 committed by Jeff Law
parent 70f89f0d1d
commit 5da07ba3ac
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Oct 29 23:01:47 1997 Jason Merrill <jason@yorick.cygnus.com>
* gen-params: Override NULL.
Wed Oct 22 19:19:32 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is

View File

@ -711,6 +711,13 @@ fi
# Uncomment the following line if you don't have working templates.
# echo "#define ${macro_prefix}NO_TEMPLATES"
# Override bogus definitions of NULL in system headers.
cat <<EOF
#undef NULL
#define __need_NULL
#include <stddef.h>
EOF
rm -f dummy.C dummy.o dummy.c dummy.out TMP core a.out
echo "#endif /* !${macro_prefix}config_h */"