aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2017-06-08 00:15:15 +0200
committerMike Pall <mike>2017-06-08 00:15:15 +0200
commitb0ecc6dd65a0b40e1868f20719c4f7c4880dc32d (patch)
tree10e690c4cebb3f32777a48d0d3d8e8a01a3b9200
parenta057a07ab702e225e21848d4f918886c5b0ac06b (diff)
downloadluajit-b0ecc6dd65a0b40e1868f20719c4f7c4880dc32d.tar.gz
luajit-b0ecc6dd65a0b40e1868f20719c4f7c4880dc32d.tar.bz2
luajit-b0ecc6dd65a0b40e1868f20719c4f7c4880dc32d.zip
FreeBSD/x64: Avoid changing resource limits, if not needed.
Diffstat (limited to '')
-rw-r--r--src/lj_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_alloc.c b/src/lj_alloc.c
index 95d15d04..9fc761c7 100644
--- a/src/lj_alloc.c
+++ b/src/lj_alloc.c
@@ -343,7 +343,7 @@ static void *CALL_MMAP(size_t size)
343} 343}
344#endif 344#endif
345 345
346#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !LJ_TARGET_PS4 346#if LJ_64 && !LJ_GC64 && ((defined(__FreeBSD__) && __FreeBSD__ < 10) || defined(__FreeBSD_kernel__)) && !LJ_TARGET_PS4
347 347
348#include <sys/resource.h> 348#include <sys/resource.h>
349 349