dont define _POSIX_C_SOURCE under OS X and FreeBSD

This commit is contained in:
Thomas BERNARD 2015-10-02 18:53:21 +02:00
parent 3fc23c3b88
commit a5fa14b9b6

View File

@ -10,7 +10,11 @@ CFLAGS += -fPIC
CFLAGS += -ansi
CFLAGS += -Wall -W
CFLAGS += -D_BSD_SOURCE
ifneq ($(OS), Darwin)
ifneq ($(OS), FreeBSD)
CFLAGS += -D_POSIX_C_SOURCE=200112L
endif
endif
CFLAGS += -I/usr/local/include
#CFLAGS += -DENABLE_UPNP_EVENTS