about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--conform/GlibcConform.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d6a601200d..f9cda045ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
 
+	* conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
+	-D_POSIX_C_SOURCE=199506L.
+
 	* conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
 
 	* conform/data/unistd.h-data (_POSIX_VERSION): Require.
diff --git a/conform/GlibcConform.pm b/conform/GlibcConform.pm
index 2533f579c9..8aeada4821 100644
--- a/conform/GlibcConform.pm
+++ b/conform/GlibcConform.pm
@@ -28,7 +28,7 @@ require Exporter;
 $CFLAGS{"ISO"} = "-ansi";
 $CFLAGS{"ISO99"} = "-std=c99";
 $CFLAGS{"ISO11"} = "-std=c1x -D_ISOC11_SOURCE";
-$CFLAGS{"POSIX"} = "-D_POSIX_C_SOURCE=199912 -ansi";
+$CFLAGS{"POSIX"} = "-D_POSIX_C_SOURCE=199506L -ansi";
 $CFLAGS{"XPG3"} = "-ansi -D_XOPEN_SOURCE";
 $CFLAGS{"XPG4"} = "-ansi -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED";
 $CFLAGS{"UNIX98"} = "-ansi -D_XOPEN_SOURCE=500";