aboutsummaryrefslogtreecommitdiff
path: root/conform/conformtest.pl
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-05-01 19:58:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-05-01 19:58:35 +0000
commit73c5ebe3441e17ba7b53a3bb00a6a91b569aeef6 (patch)
treeb7e4130369ca64ef44c1ce5dbace0f0733139ea1 /conform/conformtest.pl
parent39c33b6cbccc5dac4f1b9e710ba490010d04d8b0 (diff)
downloadglibc-73c5ebe3441e17ba7b53a3bb00a6a91b569aeef6.tar
glibc-73c5ebe3441e17ba7b53a3bb00a6a91b569aeef6.tar.gz
glibc-73c5ebe3441e17ba7b53a3bb00a6a91b569aeef6.tar.bz2
glibc-73c5ebe3441e17ba7b53a3bb00a6a91b569aeef6.zip
conformtest: Use correct feature test macros for XPG4.
Diffstat (limited to 'conform/conformtest.pl')
-rw-r--r--conform/conformtest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/conform/conformtest.pl b/conform/conformtest.pl
index a14aa09eeb..25e05a2998 100644
--- a/conform/conformtest.pl
+++ b/conform/conformtest.pl
@@ -37,7 +37,7 @@ $CFLAGS{"ISO99"} = "-std=c99";
$CFLAGS{"ISO11"} = "-std=c1x -D_ISOC11_SOURCE";
$CFLAGS{"POSIX"} = "-D_POSIX_C_SOURCE=199912 -ansi";
$CFLAGS{"XPG3"} = "-D_XOPEN_SOURCE";
-$CFLAGS{"XPG4"} = "-D_XOPEN_SOURCE_EXTENDED";
+$CFLAGS{"XPG4"} = "-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED";
$CFLAGS{"UNIX98"} = "-D_XOPEN_SOURCE=500";
$CFLAGS{"XOPEN2K"} = "-D_XOPEN_SOURCE=600";
$CFLAGS{"XOPEN2K8"} = "-std=c99 -D_XOPEN_SOURCE=700";