Merge pull request #6494 from lat9nq/mingw-fix-fastmem

host_memory: Correct MEM_RESERVE_PLACEHOLDER
This commit is contained in:
Morph 2021-06-19 04:40:58 -04:00 committed by GitHub
commit 03da34b330
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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