Fixed: Define _DARWIN_UNLIMITED_STREAMS to fix setrlimit under OS X
This commit is contained in:
parent
78c7a925c7
commit
5b892c1ed4
1 changed files with 1 additions and 1 deletions
|
@ -871,7 +871,7 @@ MACRO(NL_SETUP_BUILD)
|
||||||
ENDIF(ANDROID)
|
ENDIF(ANDROID)
|
||||||
|
|
||||||
IF(APPLE)
|
IF(APPLE)
|
||||||
ADD_PLATFORM_FLAGS("-gdwarf-2")
|
ADD_PLATFORM_FLAGS("-gdwarf-2 -D_DARWIN_UNLIMITED_STREAMS")
|
||||||
ENDIF(APPLE)
|
ENDIF(APPLE)
|
||||||
|
|
||||||
# Fix "relocation R_X86_64_32 against.." error on x64 platforms
|
# Fix "relocation R_X86_64_32 against.." error on x64 platforms
|
||||||
|
|
Loading…
Reference in a new issue