miniupnpc/Makefile: improve readability

This commit is contained in:
Thomas Bernard 2015-09-04 18:07:05 +02:00
parent 3b417915cb
commit e5ed3a7019
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@ CFLAGS += -W -Wstrict-prototypes
CFLAGS += -fno-common
CFLAGS += -DMINIUPNPC_SET_SOCKET_TIMEOUT
CFLAGS += -DMINIUPNPC_GET_SRC_ADDR
CFLAGS += -D_BSD_SOURCE -D_DEFAULT_SOURCE
CFLAGS += -D_BSD_SOURCE
CFLAGS += -D_DEFAULT_SOURCE
ifneq ($(OS), FreeBSD)
#CFLAGS += -D_POSIX_C_SOURCE=200112L
CFLAGS += -D_XOPEN_SOURCE=600