branch update for HEAD-2003050101
[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 int 
21 STDCALL
22 _except_handler3(void)
23 {
24     return 0;
25 }
26
27 int
28 STDCALL
29 _local_unwind2(void)
30 {
31     return 0;
32 }
33
34 #else /*__GNUC__*/
35
36 #endif /*__GNUC__*/
37
38
39 /*
40 int __cdecl _allmul(void)
41 {
42     return 0;
43 }
44
45 int __cdecl _allshl(void)
46 {
47     return 0;
48 }
49
50 void __cdecl _chkesp(int value1, int value2)
51 {
52 }
53
54 int __cdecl _alloca_probe(void)
55 {
56     return 0;
57 }
58
59 int STDCALL _abnormal_termination(void)
60 {
61     return 0;
62 }
63
64 int STDCALL _setjmp(void)
65 {
66     return 0;
67 }
68 */
69 /*
70 BOOL WINAPI DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved);
71
72 int STDCALL _DllMainCRTStartup(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
73 {
74     BOOL result;
75
76     //__fileno_init();
77     //result = DllMain(hInst, ul_reason_for_call, lpReserved);
78
79     result = DllMain(hInst, DLL_PROCESS_ATTACH, lpReserved);
80     
81
82     return (result ? 1 : 0);
83 }
84  */
85
86 /* EOF */