summaryrefslogtreecommitdiff
path: root/src/w32heap.c
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2014-11-27 04:03:07 +0100
committerOscar Fuentes <ofv@wanadoo.es>2014-11-27 04:03:07 +0100
commit1ed5c2d9bcc99c92cff1f6382e4c39c70a126f62 (patch)
treec78e475e32503ad08003a7049503b5cf97b5d990 /src/w32heap.c
parentba4502fe1465f7803beca3ae187e41f0b25bef10 (diff)
downloademacs-1ed5c2d9bcc99c92cff1f6382e4c39c70a126f62.tar.gz
Replace uses of _W64 with MINGW_W64
This is the `master' branch follow-up to the change made previously on the emacs-24 branch (81e0cca7bbc99dbfda898a8aaab740ae121cf045). * src/w32.c: Use MINGW_W64 instead of _W64. * src/w32heap.c: Likewise.
Diffstat (limited to 'src/w32heap.c')
-rw-r--r--src/w32heap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32heap.c b/src/w32heap.c
index c431b87e0c2..2a766419b25 100644
--- a/src/w32heap.c
+++ b/src/w32heap.c
@@ -214,7 +214,7 @@ dumped_data_commit (PVOID Base, PVOID *CommitAddress, PSIZE_T CommitSize)
/* We want to turn on Low Fragmentation Heap for XP and older systems.
MinGW32 lacks those definitions. */
-#ifndef _W64
+#ifndef MINGW_W64
typedef enum _HEAP_INFORMATION_CLASS {
HeapCompatibilityInformation
} HEAP_INFORMATION_CLASS;
@@ -244,7 +244,7 @@ init_heap (void)
/* Create the private heap. */
heap = HeapCreate (0, 0, 0);
-#ifndef _W64
+#ifndef MINGW_W64
/* Set the low-fragmentation heap for OS before Vista. */
HMODULE hm_kernel32dll = LoadLibrary ("kernel32.dll");
HeapSetInformation_Proc s_pfn_Heap_Set_Information = (HeapSetInformation_Proc) GetProcAddress (hm_kernel32dll, "HeapSetInformation");