mirror of https://git.suyu.dev/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:
parent
3870ba670f
commit
9a06b85b24
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue