aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32heap.c
diff options
context:
space:
mode:
authorEli Zaretskii2014-06-02 20:19:19 +0300
committerEli Zaretskii2014-06-02 20:19:19 +0300
commit904e7cf8a2de0664c11a2794fa0e183107ab03d7 (patch)
treeb45e358865dfc0dd14919ac8e9235efc0897e5a6 /src/w32heap.c
parente67cf8c6518942634f5ff9915aef9923596d900b (diff)
downloademacs-904e7cf8a2de0664c11a2794fa0e183107ab03d7.tar.gz
emacs-904e7cf8a2de0664c11a2794fa0e183107ab03d7.zip
src/w32heap.c (init_heap): Fix typos in comments (again).
Diffstat (limited to 'src/w32heap.c')
-rw-r--r--src/w32heap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/w32heap.c b/src/w32heap.c
index a65ca2df466..bba236cc8d1 100644
--- a/src/w32heap.c
+++ b/src/w32heap.c
@@ -201,7 +201,7 @@ dumped_data_commit (PVOID Base, PVOID *CommitAddress, PSIZE_T CommitSize)
201 201
202/* Heap creation. */ 202/* Heap creation. */
203 203
204/* Under MinGW32, we want to turn on Low Fragmentation Heap for XP. 204/* We want to turn on Low Fragmentation Heap for XP and older systems.
205 MinGW32 lacks those definitions. */ 205 MinGW32 lacks those definitions. */
206#ifndef _W64 206#ifndef _W64
207typedef enum _HEAP_INFORMATION_CLASS { 207typedef enum _HEAP_INFORMATION_CLASS {
@@ -234,8 +234,7 @@ init_heap (void)
234 heap = HeapCreate(0, 0, 0); 234 heap = HeapCreate(0, 0, 0);
235 235
236#ifndef _W64 236#ifndef _W64
237 /* Set the low-fragmentation heap for OS before XP and Windows 237 /* Set the low-fragmentation heap for OS before Vista. */
238 Server 2003. */
239 HMODULE hm_kernel32dll = LoadLibrary("kernel32.dll"); 238 HMODULE hm_kernel32dll = LoadLibrary("kernel32.dll");
240 HeapSetInformation_Proc s_pfn_Heap_Set_Information = (HeapSetInformation_Proc) GetProcAddress(hm_kernel32dll, "HeapSetInformation"); 239 HeapSetInformation_Proc s_pfn_Heap_Set_Information = (HeapSetInformation_Proc) GetProcAddress(hm_kernel32dll, "HeapSetInformation");
241 if (s_pfn_Heap_Set_Information != NULL) 240 if (s_pfn_Heap_Set_Information != NULL)