mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-18 18:31:15 +00:00
dont define _POSIX_C_SOURCE under OS X and FreeBSD
This commit is contained in:
parent
3fc23c3b88
commit
a5fa14b9b6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user