Makefile: add posix wrappers to freebsd build

This commit is contained in:
Danny Robson 2016-05-12 18:11:13 +10:00
parent c2310d5d50
commit a22ca0575e

View File

@ -263,8 +263,7 @@ UTIL_FILES = \
$(BACKTRACE_FILES) $(BACKTRACE_FILES)
if PLATFORM_LINUX POSIX_FILES = \
UTIL_FILES += \
net/address.cpp \ net/address.cpp \
net/address.hpp \ net/address.hpp \
net/except.cpp \ net/except.cpp \
@ -289,6 +288,13 @@ UTIL_FILES += \
posix/dir.ipp \ posix/dir.ipp \
time_posix.cpp time_posix.cpp
if PLATFORM_LINUX
UTIL_FILES += $(POSIX_FILES)
endif
if PLATFORM_FREEBSD
UTIL_FILES += $(POSIX_FILES)
endif endif
if PLATFORM_WIN32 if PLATFORM_WIN32