mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-12 17:24:09 +00:00
Don't set rlimit in init_mmap on FreeBSD >= 10.
FreeBSD 10 and above support the MAP_32BIT flag to mmap.
This commit is contained in:
parent
6259c0b909
commit
6a98aec86b
@ -343,7 +343,7 @@ static void *CALL_MMAP(size_t size)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !LJ_TARGET_PS4
|
||||
#if ((defined(__FreeBSD__) && __FreeBSD__ < 10) || defined(__FreeBSD_kernel__)) && !LJ_TARGET_PS4
|
||||
|
||||
#include <sys/resource.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user