Skip to content

Commit

Permalink
FreeBSD/x64: Avoid changing resource limits, if not needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Pall committed Jun 7, 2017
1 parent a057a07 commit b0ecc6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lj_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ static void *CALL_MMAP(size_t size)
}
#endif

#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !LJ_TARGET_PS4
#if LJ_64 && !LJ_GC64 && ((defined(__FreeBSD__) && __FreeBSD__ < 10) || defined(__FreeBSD_kernel__)) && !LJ_TARGET_PS4

#include <sys/resource.h>

Expand Down

0 comments on commit b0ecc6d

Please sign in to comment.