|
|
|
@ -62,19 +62,14 @@ int main(int argc, char *argv[])
|
|
|
|
|
return returnValue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
|
|
#ifdef __GNUC__
|
|
|
|
|
#define _stdcall __attribute__((stdcall))
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
int _stdcall
|
|
|
|
|
WinMain (struct HINSTANCE__ *hInstance,
|
|
|
|
|
struct HINSTANCE__ *hPrevInstance,
|
|
|
|
|
char *lpszCmdLine,
|
|
|
|
|
int nCmdShow)
|
|
|
|
|
#ifdef _WINDOWS
|
|
|
|
|
// If the system compiles for main(), then main will be used.
|
|
|
|
|
// If it wants WinMain, this will call main anyways.
|
|
|
|
|
int _stdcall WinMain(struct HINSTANCE__ *hInstance,
|
|
|
|
|
struct HINSTANCE__ *hPrevInstance,
|
|
|
|
|
char *lpszCmdLine,
|
|
|
|
|
int nCmdShow)
|
|
|
|
|
{
|
|
|
|
|
return main (__argc, __argv);
|
|
|
|
|
}
|
|
|
|
|
return main(__argc, __argv);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|