diff options
| author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-06-19 04:38:33 -0400 |
|---|---|---|
| committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-06-19 04:38:33 -0400 |
| commit | bee420dcfbbedb34e343ffa47210f6f3f2406b4b (patch) | |
| tree | 57819bf25691e5010624decaaaa8f1fbd7c22868 | |
| parent | b7e41567689d806317cdbb3f33f46a13e2dfea4e (diff) | |
host_memory: Correct MEM_RESERVE_PLACEHOLDER
Microsoft defines `MEM_RESERVE_PLACEHOLDER` as `0x00040000`, but our
manually imported version of it drops the last zero.
| -rw-r--r-- | src/common/host_memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cpp index 8bd70abc79..2a5a7596c1 100644 --- a/src/common/host_memory.cpp +++ b/src/common/host_memory.cpp @@ -34,7 +34,7 @@ constexpr size_t HugePageSize = 0x200000; // Manually imported for MinGW compatibility #ifndef MEM_RESERVE_PLACEHOLDER -#define MEM_RESERVE_PLACEHOLDER 0x0004000 +#define MEM_RESERVE_PLACEHOLDER 0x00040000 #endif #ifndef MEM_REPLACE_PLACEHOLDER #define MEM_REPLACE_PLACEHOLDER 0x00004000 |
