Bug 844430: Add the correct build defines to fix libsctp on NetBSD/OpenBSD/Dragonfly. r=jesup

This commit is contained in:
Landry Breuil 2013-06-08 12:48:30 +02:00
parent 0ad01f9408
commit e24ef8e0cd

View File

@ -97,11 +97,32 @@ DEFINES += \
-U__FreeBSD__ \ -U__FreeBSD__ \
$(NULL) $(NULL)
else else
ifeq ($(OS_TARGET),NetBSD)
DEFINES += \
-D__Userspace_os_NetBSD=1 \
-U__NetBSD__ \
$(NULL)
else
ifeq ($(OS_TARGET),OpenBSD)
DEFINES += \
-D__Userspace_os_OpenBSD=1 \
-U__OpenBSD__ \
$(NULL)
else
ifeq ($(OS_TARGET),DragonFly)
DEFINES += \
-D__Userspace_os_DragonFly=1 \
-U__DragonFly__ \
$(NULL)
else
#error Unsupported platform! #error Unsupported platform!
endif endif
endif endif
endif endif
endif endif
endif
endif
endif
include $(topsrcdir)/config/config.mk include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk include $(topsrcdir)/ipc/chromium/chromium-config.mk