git » libfiu » commit 555b566

Define _XOPEN_SOURCE=600, which is more correct when using C99

author Alberto Bertogli
2009-07-03 02:24:05 UTC
committer Alberto Bertogli
2009-07-03 02:24:05 UTC
parent 7db88470d931657bfb50e0bf42489b7dfc60fefd

Define _XOPEN_SOURCE=600, which is more correct when using C99

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

libfiu/Makefile +1 -1
preload/posix/Makefile +1 -1
preload/run/Makefile +1 -1

diff --git a/libfiu/Makefile b/libfiu/Makefile
index 6007ea3..901fa4b 100644
--- a/libfiu/Makefile
+++ b/libfiu/Makefile
@@ -1,6 +1,6 @@
 
 CFLAGS += -std=c99 -pedantic -Wall -O3
-ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC -DFIU_ENABLE=1 $(CFLAGS)
+ALL_CFLAGS = -D_XOPEN_SOURCE=600 -fPIC -DFIU_ENABLE=1 $(CFLAGS)
 
 ifdef DEBUG
 ALL_CFLAGS += -g
diff --git a/preload/posix/Makefile b/preload/posix/Makefile
index 9ab966b..359c997 100644
--- a/preload/posix/Makefile
+++ b/preload/posix/Makefile
@@ -1,6 +1,6 @@
 
 CFLAGS += -std=c99 -Wall -O3
-ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC -DFIU_ENABLE=1 \
+ALL_CFLAGS = -D_XOPEN_SOURCE=600 -fPIC -DFIU_ENABLE=1 \
 		-I. -I../../libfiu/ -L../../libfiu/ $(CFLAGS)
 
 ifdef DEBUG
diff --git a/preload/run/Makefile b/preload/run/Makefile
index 366cee1..4ccc905 100644
--- a/preload/run/Makefile
+++ b/preload/run/Makefile
@@ -1,6 +1,6 @@
 
 CFLAGS += -std=c99 -Wall -O3
-ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC -DFIU_ENABLE=1 \
+ALL_CFLAGS = -D_XOPEN_SOURCE=600 -fPIC -DFIU_ENABLE=1 \
 		-I. -I../../libfiu/ -L../../libfiu/ $(CFLAGS)
 
 ifdef DEBUG