aboutsummaryrefslogtreecommitdiff
path: root/posix/annexc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-06 21:28:23 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-06 21:28:23 +0000
commitd7e82198ecda5be52ce293571c9aa2a597a93765 (patch)
tree3214d1edbff8a59858d2710344c068fea1cd2483 /posix/annexc.c
parenta4548cea4aac71acf6c9914058587ff42a06f22d (diff)
downloadglibc-d7e82198ecda5be52ce293571c9aa2a597a93765.tar
glibc-d7e82198ecda5be52ce293571c9aa2a597a93765.tar.gz
glibc-d7e82198ecda5be52ce293571c9aa2a597a93765.tar.bz2
glibc-d7e82198ecda5be52ce293571c9aa2a597a93765.zip
(fmt, testfmt): Remove -D_LIBC.
Diffstat (limited to 'posix/annexc.c')
-rw-r--r--posix/annexc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/posix/annexc.c b/posix/annexc.c
index 80b26eecb3..3ade6d4227 100644
--- a/posix/annexc.c
+++ b/posix/annexc.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -615,12 +615,12 @@ static struct header
/* Format string to build command to invoke compiler. */
static const char fmt[] = "\
echo \"#include <%s>\" |\
-%s -E -dM -D_POSIX_SOURCE -D_LIBC %s \
+%s -E -dM -D_POSIX_SOURCE %s \
-isystem `%s --print-prog-name=include` - > %s";
static const char testfmt[] = "\
echo \"#include <unistd.h>\n#if !defined %s || %s == -1\n#error not defined\n#endif\n\" |\
-%s -E -dM -D_POSIX_SOURCE -D_LIBC %s \
+%s -E -dM -D_POSIX_SOURCE %s \
-isystem `%s --print-prog-name=include` - 2> /dev/null > %s";