update for HEAD-2003091401
[reactos.git] / lib / msvcrt / misc / crtmain.c
1 /* $Id$
2  *
3  * ReactOS MSVCRT.DLL Compatibility Library
4  */
5 #include <windows.h>
6 //#include <msvcrt/stdlib.h>
7
8 #define NDEBUG
9 #include <msvcrt/msvcrtdbg.h>
10
11 #ifndef __GNUC__
12
13 /* GLOBAL VARIABLES *******************************************************/
14
15 int _fltused;
16
17
18 /* FUNCTIONS **************************************************************/
19
20 /*
21  * @unimplemented
22  */
23 int 
24 STDCALL
25 _except_handler3(void)
26 {
27     return 0;
28 }
29
30 /*
31  * @unimplemented
32  */
33 int
34 STDCALL
35 _local_unwind2(void)
36 {
37     return 0;
38 }
39
40 #else /*__GNUC__*/
41
42 #endif /*__GNUC__*/
43
44
45 /*
46 int __cdecl _allmul(void)
47 {
48     return 0;
49 }
50
51 int __cdecl _allshl(void)
52 {
53     return 0;
54 }
55
56 void __cdecl _chkesp(int value1, int value2)
57 {
58 }
59
60 int __cdecl _alloca_probe(void)
61 {
62     return 0;
63 }
64
65 int STDCALL _abnormal_termination(void)
66 {
67     return 0;
68 }
69
70 int STDCALL _setjmp(void)
71 {
72     return 0;
73 }
74 */
75 /*
76 BOOL WINAPI DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved);
77
78 int STDCALL _DllMainCRTStartup(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
79 {
80     BOOL result;
81
82     //__fileno_init();
83     //result = DllMain(hInst, ul_reason_for_call, lpReserved);
84
85     result = DllMain(hInst, DLL_PROCESS_ATTACH, lpReserved);
86     
87
88     return (result ? 1 : 0);
89 }
90  */
91
92 /* EOF */