dont define _XOPEN_SOURCE with FreeBSD
This commit is contained in:
parent
2889f0a6ca
commit
6728b12965
|
@ -36,8 +36,10 @@ CFLAGS += -fno-common
|
|||
CFLAGS += -DMINIUPNPC_SET_SOCKET_TIMEOUT
|
||||
CFLAGS += -DMINIUPNPC_GET_SRC_ADDR
|
||||
CFLAGS += -D_BSD_SOURCE -D_DEFAULT_SOURCE
|
||||
ifneq ($(OS), FreeBSD)
|
||||
#CFLAGS += -D_POSIX_C_SOURCE=200112L
|
||||
CFLAGS += -D_XOPEN_SOURCE=600
|
||||
endif
|
||||
#CFLAGS += -ansi
|
||||
# -DNO_GETADDRINFO
|
||||
INSTALL = install
|
||||
|
|
Loading…
Reference in New Issue