1
1
Fork 0
forked from suyu/suyu

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

View file

@ -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