Changeset 8759 for trunk/src/odincrt/initterm.cpp
- Timestamp:
- Jun 25, 2002, 9:15:04 AM (23 years ago)
- File:
-
- 1 edited
-
trunk/src/odincrt/initterm.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/odincrt/initterm.cpp
r5472 r8759 68 68 switch (ulFlag) { 69 69 case 0 : 70 70 { 71 #ifdef WITH_KLIB 72 /* 73 * We need to reserve memory for the executable image 74 * before initiating any heaps. Lets do reserve 32MBs 75 */ 76 PVOID pvReserved = NULL; 77 DosAllocMem(&pvReserved, 32*1024*1024, PAG_READ); 78 #endif 71 79 /*******************************************************************/ 72 80 /* The C run-time environment initialization function must be */ … … 99 107 pPIB->pib_ultype = 3; 100 108 #endif 109 110 #ifdef WITH_KLIB 111 /* cleanup - hacking is done */ 112 DosFreeMem(pvReserved); 113 #endif 101 114 break; 115 } 102 116 case 1 : 103 117 break;
Note:
See TracChangeset
for help on using the changeset viewer.
