2011-05-23 15:50:03 +00:00
|
|
|
/**
|
|
|
|
* This file has no copyright assigned and is placed in the Public Domain.
|
|
|
|
* This file is part of the w64 mingw-runtime package.
|
|
|
|
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
2011-08-20 17:11:16 +00:00
|
|
|
int __mingw_init_ehandler (void)
|
|
|
|
{
|
|
|
|
/* Nothing to do */
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2011-05-23 15:50:03 +00:00
|
|
|
void
|
|
|
|
__do_global_dtors (void)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
__do_global_ctors (void)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOL
|
|
|
|
WINAPI
|
|
|
|
_CRT_INIT0(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved)
|
|
|
|
{
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
static int initialized = 0;
|
|
|
|
|
|
|
|
void
|
|
|
|
__main (void)
|
|
|
|
{
|
|
|
|
if (!initialized)
|
|
|
|
{
|
|
|
|
initialized = 1;
|
|
|
|
__do_global_ctors ();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|