Changeset 22090
- Timestamp:
- Mar 18, 2015, 4:59:40 PM (11 years ago)
- File:
-
- 1 edited
-
branches/swt/src/win32k/ldr/xx2lxmain.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/swt/src/win32k/ldr/xx2lxmain.cpp
r10394 r22090 83 83 PCSZ psz; 84 84 int argi; 85 86 #ifdef __GNUC__ 87 /* 88 * Initialize heaps when using GCC. 89 * When building with GCC, there exists no VAC '_exeentry' stuff. 90 * So the function '_rmem_init()' in 'misc/malloc.c', which would 91 * initialize the resident and swap heaps, is never called under GCC. 92 */ 93 rc = heapInit(CB_RES_INIT, CB_RES_MAX, CB_SWP_INIT, CB_SWP_MAX); 94 if (rc != NO_ERROR) { 95 printf("Fatal error: Failed to initialize memory heaps. rc=%d\n", rc); 96 return rc; 97 } 98 #endif 85 99 86 100 /* special edition for Dave Evans */
Note:
See TracChangeset
for help on using the changeset viewer.
