diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/sdl/sdl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp index 078a5a2d62..cff313cea4 100644 --- a/backends/sdl/sdl.cpp +++ b/backends/sdl/sdl.cpp @@ -35,7 +35,7 @@ #if !defined(_WIN32_WCE) && !defined(__MAEMO__) #if defined (WIN32) -int WinMain(HINSTANCE /*hInst*/, HINSTANCE /*hPrevInst*/, LPSTR /*lpCmdLine*/, int /*iShowCmd*/) { +int __stdcall WinMain(HINSTANCE /*hInst*/, HINSTANCE /*hPrevInst*/, LPSTR /*lpCmdLine*/, int /*iShowCmd*/) { SDL_SetModuleHandle(GetModuleHandle(NULL)); return main(__argc, __argv); } @@ -102,7 +102,6 @@ int main(int argc, char *argv[]) { } #endif - void OSystem_SDL::initBackend() { assert(!_inited); |