Changeset 10005 for trunk/src/msvcrt/mainmsvcrt40.c
- Timestamp:
- Apr 10, 2003, 12:28:07 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/msvcrt/mainmsvcrt40.c
r9633 r10005 18 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 19 */ 20 21 #include <windows.h> 22 #include <win32type.h> 23 #include <stdlib.h> 24 #include <stdio.h> 25 #include <string.h> 26 #include <odin.h> 27 #include <odinlx.h> 28 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 29 #include <initdll.h> 30 #include <exitlist.h> 31 #include <os2sel.h> 32 20 33 #include "msvcrt.h" 21 34 #define TLS_OUT_OF_INDEXES ((DWORD)0xFFFFFFFF) … … 37 50 typedef void (*MSVCRT_free_func)(void*); 38 51 39 int _CRT_init (void);40 void _CRT_term (void);41 void __ctordtorInit (void);42 void __ctordtorTerm (void);43 44 52 static HMODULE dllHandle = 0; 45 53 … … 53 61 { 54 62 case 0: 55 if (_CRT_init () != 0)56 return 0;57 __ctordtorInit ();58 59 63 dllHandle = RegisterLxDll(mod_handle, MSVCRT40_Init, 0,0,0,0); 60 61 return 1; 64 return 1; 62 65 case 1: 63 __ctordtorTerm ();64 _CRT_term ();65 66 66 67 if(dllHandle) { … … 80 81 BOOL WINAPI MSVCRT40_Init(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) 81 82 { 82 return MSVCRT_Init(hinstDLL, fdwReason, lpvReserved);83 return TRUE; 83 84 } 84 85
Note:
See TracChangeset
for help on using the changeset viewer.