diff options
Diffstat (limited to 'libdex/SysUtil.h')
-rw-r--r-- | libdex/SysUtil.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdex/SysUtil.h b/libdex/SysUtil.h index 100c31260..90a63ca2a 100644 --- a/libdex/SysUtil.h +++ b/libdex/SysUtil.h @@ -31,7 +31,11 @@ * * Must be a power of 2. */ +#ifdef PAGE_SHIFT +#define SYSTEM_PAGE_SIZE (1<<PAGE_SHIFT) +#else #define SYSTEM_PAGE_SIZE 4096 +#endif /* * Use this to keep track of mapped segments. |