Browse Source
Merge pull request #6494 from lat9nq/mingw-fix-fastmem
host_memory: Correct MEM_RESERVE_PLACEHOLDER
pull/15/merge
Morph
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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
|
|
|
|
|