git » nmdb » commit 2af0a20

Define _XOPEN_SOURCE to 600, as we (should) comply with SuSv3

author Alberto Bertogli
2008-06-01 05:58:05 UTC
committer Alberto Bertogli
2008-06-01 05:58:05 UTC
parent 3409d9da8eda35081a0bef80487f5491a74b9715

Define _XOPEN_SOURCE to 600, as we (should) comply with SuSv3

At the moment, we don't rely on anything that SuSv2 didn't provide except
strtoll(), but it's likely that in the future we will (either
intentionally or not).

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

nmdb/Makefile +1 -1

diff --git a/nmdb/Makefile b/nmdb/Makefile
index 878c730..f20ecfe 100644
--- a/nmdb/Makefile
+++ b/nmdb/Makefile
@@ -9,7 +9,7 @@ ENABLE_SCTP = 1
 BACKEND = qdbm
 
 CFLAGS += -std=c99 -pedantic -Wall -O3
-ALL_CFLAGS = -D_XOPEN_SOURCE=500 $(CFLAGS)
+ALL_CFLAGS = -D_XOPEN_SOURCE=600 $(CFLAGS)
 ALL_CFLAGS += -DENABLE_TIPC=$(ENABLE_TIPC) \
 		-DENABLE_TCP=$(ENABLE_TCP) \
 		-DENABLE_UDP=$(ENABLE_UDP) \