mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-02 23:26:44 +00:00
WIN: Fix mingw64 compilation, by limiting last hack.
This commit is contained in:
parent
7e81052150
commit
8f9245cfce
@ -44,10 +44,10 @@ int __stdcall WinMain(HINSTANCE /*hInst*/, HINSTANCE /*hPrevInst*/, LPSTR /*lpC
|
||||
SDL_SetModuleHandle(GetModuleHandle(NULL));
|
||||
#endif
|
||||
// HACK: __argc, __argv are broken and return zero when using mingwrt 4.0+ on MinGW
|
||||
#if defined(_MSC_VER)
|
||||
return main(__argc, __argv);
|
||||
#else
|
||||
#if defined(__GNUC__) && defined(__MINGW32__) && !defined(__MINGW64__)
|
||||
return main(_argc, _argv);
|
||||
#else
|
||||
return main(__argc, __argv);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user