Changeset 21829 for branches/gcc-kmk/src
- Timestamp:
- Nov 29, 2011, 4:12:32 PM (14 years ago)
- Location:
- branches/gcc-kmk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/kernel32/initterm.cpp
r21824 r21829 84 84 85 85 if (fInit) 86 return 0; // already initialized86 return EXITLIST_KERNEL32; // already initialized 87 87 88 88 rc = DosQuerySysInfo(QSV_VERSION_MAJOR, QSV_VERSION_MINOR, -
branches/gcc-kmk/src/odincrt/initterm.cpp
r21785 r21829 12 12 #define INCL_DOSERRORS 13 13 #include <os2wrap.h> // Odin32 OS/2 api wrappers 14 #include <exitlist.h> 14 15 #include <initdll.h> 15 16 … … 38 39 APIRET rc = DosGetInfoBlocks(&pTIB, &pPIB); 39 40 if (rc != NO_ERROR) 40 return 0UL;41 return -1; 41 42 pPIB->pib_ultype = 3; 42 43 #endif 43 44 44 45 #ifdef WITH_KLIB 45 46 46 /* cleanup - hacking is done */ 47 DosFreeMem(pvReserved); 47 48 #endif 49 50 return EXITLIST_ODINCRT; 48 51 } 49 52
Note:
See TracChangeset
for help on using the changeset viewer.