_XOPEN_SOURCE=600 instead of _POSIX_C_SOURCE=200112L

This commit is contained in:
Thomas Bernard 2015-08-31 00:10:33 +02:00
parent f68edea0fa
commit d6700c5d1f
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,9 @@ CFLAGS += -W -Wstrict-prototypes
CFLAGS += -fno-common
CFLAGS += -DMINIUPNPC_SET_SOCKET_TIMEOUT
CFLAGS += -DMINIUPNPC_GET_SRC_ADDR
CFLAGS += -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112L
CFLAGS += -D_BSD_SOURCE -D_DEFAULT_SOURCE
#CFLAGS += -D_POSIX_C_SOURCE=200112L
CFLAGS += -D_XOPEN_SOURCE=600
CFLAGS += -ansi
# -DNO_GETADDRINFO
INSTALL = install