From e78b79bbd849685173514b2c58c3e902d1980ac6 Mon Sep 17 00:00:00 2001 From: Ondrej Novak Date: Sat, 8 Feb 2025 20:23:56 +0100 Subject: [PATCH] compiler complains that WinMain must be __stdcall --- platform/windows/app_start.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/windows/app_start.cpp b/platform/windows/app_start.cpp index 54ba982..19282c2 100644 --- a/platform/windows/app_start.cpp +++ b/platform/windows/app_start.cpp @@ -90,7 +90,7 @@ int main(int argc, char **argv) { } -int WinMain(HINSTANCE,HINSTANCE ,LPSTR, INT) { +int __stdcall WinMain(HINSTANCE,HINSTANCE ,LPSTR, INT) { int argc; LPWSTR *szArglist = CommandLineToArgvW(GetCommandLineW(), &argc);