mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-17 14:59:38 +08:00
* gen-params: Override NULL.
From-SVN: r16232
This commit is contained in:
parent
70f89f0d1d
commit
5da07ba3ac
@ -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
|
||||
|
@ -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 */"
|
||||
|
Loading…
Reference in New Issue
Block a user