diff options
Diffstat (limited to 'wasm2c/wasm-rt.h')
-rw-r--r-- | wasm2c/wasm-rt.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/wasm2c/wasm-rt.h b/wasm2c/wasm-rt.h index 05757087..c135fdcd 100644 --- a/wasm2c/wasm-rt.h +++ b/wasm2c/wasm-rt.h @@ -129,7 +129,7 @@ extern "C" { * needed (so we can use the guard based range checks below). */ #ifndef WASM_RT_USE_MMAP -#if UINTPTR_MAX > 0xffffffff && !SUPPORT_MEMORY64 +#if UINTPTR_MAX > 0xffffffff #define WASM_RT_USE_MMAP 1 #else #define WASM_RT_USE_MMAP 0 @@ -151,8 +151,7 @@ extern "C" { */ /** Check if Guard checks are supported */ -#if UINTPTR_MAX > 0xffffffff && WASM_RT_USE_MMAP && !SUPPORT_MEMORY64 && \ - !WABT_BIG_ENDIAN +#if UINTPTR_MAX > 0xffffffff && WASM_RT_USE_MMAP && !WABT_BIG_ENDIAN #define WASM_RT_GUARD_PAGES_SUPPORTED 1 #else #define WASM_RT_GUARD_PAGES_SUPPORTED 0 |