- Timestamp:
- Jun 25, 2002, 9:15:04 AM (23 years ago)
- Location:
- trunk/src/odincrt
- Files:
-
- 2 edited
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; -
trunk/src/odincrt/makefile
r8324 r8759 1 # $Id: makefile,v 1.2 8 2002-04-29 14:45:43 birdExp $1 # $Id: makefile,v 1.29 2002-06-25 07:15:04 sandervl Exp $ 2 2 3 3 # … … 24 24 CXXFLAGS = $(CXXFLAGS_ODINCRT) 25 25 LD2FLAGS = $(LD2FLAGS_ODINCRT) 26 !ifdef WITH_KLIB 27 CDEFINES = $(CDEFINES_ODINCRT) -DWITH_KLIB 28 !else 26 29 CDEFINES = $(CDEFINES_ODINCRT) 30 !endif 27 31 IMPLIBFLAGS = $(IMPLIBFLAGS) /NOIgnoreCase 28 32
Note:
See TracChangeset
for help on using the changeset viewer.