host_memory: Correct MEM_RESERVE_PLACEHOLDER

Microsoft defines `MEM_RESERVE_PLACEHOLDER` as `0x00040000`, but our
manually imported version of it drops the last zero.
This commit is contained in:
lat9nq 2021-06-19 04:38:33 -04:00
parent 3870ba670f
commit 9a06b85b24
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ constexpr size_t HugePageSize = 0x200000;
// Manually imported for MinGW compatibility // Manually imported for MinGW compatibility
#ifndef MEM_RESERVE_PLACEHOLDER #ifndef MEM_RESERVE_PLACEHOLDER
#define MEM_RESERVE_PLACEHOLDER 0x0004000 #define MEM_RESERVE_PLACEHOLDER 0x00040000
#endif #endif
#ifndef MEM_REPLACE_PLACEHOLDER #ifndef MEM_REPLACE_PLACEHOLDER
#define MEM_REPLACE_PLACEHOLDER 0x00004000 #define MEM_REPLACE_PLACEHOLDER 0x00004000