diff options
author | Mike Pall <mike> | 2017-06-08 00:15:15 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2017-06-08 00:15:15 +0200 |
commit | b0ecc6dd65a0b40e1868f20719c4f7c4880dc32d (patch) | |
tree | 10e690c4cebb3f32777a48d0d3d8e8a01a3b9200 | |
parent | a057a07ab702e225e21848d4f918886c5b0ac06b (diff) | |
download | luajit-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.c | 2 |
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 | ||