diff options
-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 42eb2e43..b381bba1 100644 --- a/src/lj_alloc.c +++ b/src/lj_alloc.c | |||
@@ -177,7 +177,7 @@ static LJ_AINLINE int CALL_MUNMAP(void *ptr, size_t size) | |||
177 | #if LJ_64 | 177 | #if LJ_64 |
178 | /* 64 bit mode needs special support for allocating memory in the lower 2GB. */ | 178 | /* 64 bit mode needs special support for allocating memory in the lower 2GB. */ |
179 | 179 | ||
180 | #if LJ_TARGET_LINUX | 180 | #if defined(MAP_32BIT) |
181 | 181 | ||
182 | /* Actually this only gives us max. 1GB in current Linux kernels. */ | 182 | /* Actually this only gives us max. 1GB in current Linux kernels. */ |
183 | static LJ_AINLINE void *CALL_MMAP(size_t size) | 183 | static LJ_AINLINE void *CALL_MMAP(size_t size) |