From a59a3e25a28a56d9d5772cbed3b3ff8ce8e7e0f2 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Mon, 10 Mar 2025 22:10:57 +0100 Subject: [PATCH] [client,sdl] do not compile WinMain for mingw builds --- client/SDL/SDL3/sdl_freerdp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/SDL/SDL3/sdl_freerdp.cpp b/client/SDL/SDL3/sdl_freerdp.cpp index 334c525c0..73d2818fa 100644 --- a/client/SDL/SDL3/sdl_freerdp.cpp +++ b/client/SDL/SDL3/sdl_freerdp.cpp @@ -46,7 +46,9 @@ #include #include +#if !defined(__MINGW32__) #include +#endif #include #include #include