From dbd68988a813727678d4b93cfd818b5622230dd9 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Tue, 16 Jan 2018 15:48:54 -0800 Subject: [PATCH] [WebAssembly] Update PAGE_SIZE for 64k See: https://github.com/WebAssembly/design/blob/910e3cace53eca487682238bfa8086d067521945/Semantics.md#resizing --- arch/wasm32/bits/limits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/wasm32/bits/limits.h b/arch/wasm32/bits/limits.h index 65a3dd64..e688c35c 100644 --- a/arch/wasm32/bits/limits.h +++ b/arch/wasm32/bits/limits.h @@ -1,6 +1,6 @@ #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) -#define PAGE_SIZE 4096 +#define PAGE_SIZE 65536 #define LONG_BIT 32 #endif