Explorar o código

host_memory: Correct MEM_RESERVE_PLACEHOLDER

Microsoft defines `MEM_RESERVE_PLACEHOLDER` as `0x00040000`, but our
manually imported version of it drops the last zero.
lat9nq %!s(int64=5) %!d(string=hai) anos
pai
achega
9a06b85b24
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/common/host_memory.cpp

+ 1 - 1
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