diff options
| -rw-r--r-- | platform_win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform_win32.c b/platform_win32.c index 8374128..e3563b5 100644 --- a/platform_win32.c +++ b/platform_win32.c @@ -62,7 +62,7 @@ void redirect_io_to_console() { setvbuf(stdin, NULL, _IONBF, 0); } -LRESULT WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { +LRESULT __stdcall WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch (uMsg) { case WM_DESTROY: { PostQuitMessage(0); @@ -79,7 +79,7 @@ LRESULT WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { } } -int WinMain( +int __stdcall WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, |
