about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-05 04:59:44 +0000
committerRoland McGrath <roland@gnu.org>2002-08-05 04:59:44 +0000
commit2a185b31a8e3a50fc5fccadfe3c1f7110686baca (patch)
treeb716b8b87439ce45794fb81cf2998f2d50da8eb0
parent14a42f4502a3f650aaf0b629c364e728ecaa0880 (diff)
downloadglibc-2a185b31a8e3a50fc5fccadfe3c1f7110686baca.tar.gz
glibc-2a185b31a8e3a50fc5fccadfe3c1f7110686baca.tar.xz
glibc-2a185b31a8e3a50fc5fccadfe3c1f7110686baca.zip
* stdlib/isomac.c (fmt): Add -DNOT_IN_libc to the compiler command.
-rw-r--r--ChangeLog4
-rw-r--r--stdlib/isomac.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a859197e77..2d2dd6764c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,6 @@
-2002-08-04  Roland McGrath  <roland@frob.com>
+2002-08-04  Roland McGrath  <roland@redhat.com>
+
+	* stdlib/isomac.c (fmt): Add -DNOT_IN_libc to the compiler command.
 
 	* elf/Makefile (test-srcs): Add $(modules-names) to it.
 	(CFLAGS-vismod2.c, CFLAGS-failobj.c, CFLAGS-constload2.c,
diff --git a/stdlib/isomac.c b/stdlib/isomac.c
index 8c592328d3..0229b3fb4f 100644
--- a/stdlib/isomac.c
+++ b/stdlib/isomac.c
@@ -1,5 +1,5 @@
 /* Check system header files for ISO 9899:1990 (ISO C) compliance.
-   Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1996,97,98,99,2001,02 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jens Schweikhardt <schweikh@noc.dfn.de>, 1996.
 
@@ -177,7 +177,7 @@ static char *macros[] =
 /* Format string to build command to invoke compiler.  */
 static const char fmt[] = "\
 echo \"#include <%s>\" |\
-%s -E -dM -ansi -pedantic %s -D_LIBC -D_ISOMAC -I. \
+%s -E -dM -ansi -pedantic %s -D_LIBC -D_ISOMAC -DNOT_IN_libc -I. \
 -isystem `%s --print-prog-name=include` - 2> /dev/null > %s";