Browse Source

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

host_memory: Correct MEM_RESERVE_PLACEHOLDER
nce_cpp
Morph 5 years ago
committed by GitHub
parent
commit
ed3e7788a1
  1. 2
      src/common/host_memory.cpp

2
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

Loading…
Cancel
Save