From ba4d15886f869805f647779139688583541fb6e3 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 21 Feb 2022 15:41:42 -0500 Subject: [PATCH] Protect against MinGW including Windows RT --- platforms/sdl/main.cpp.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/sdl/main.cpp.in b/platforms/sdl/main.cpp.in index 441d2db..de3ce2b 100644 --- a/platforms/sdl/main.cpp.in +++ b/platforms/sdl/main.cpp.in @@ -18,7 +18,7 @@ #include "gfx_dummy.hpp" -#ifdef PLATFORM_WINDOWS +#if defined(PLATFORM_WINDOWS) && !defined(__MINGW32__) #include #pragma comment(lib, "windowsapp") #endif @@ -516,7 +516,7 @@ int main(int argc, char* argv[]) { return 0; } -#ifdef PLATFORM_WINDOWS +#if defined(PLATFORM_WINDOWS) && !defined(__MINGW32__) PlatformTheme platform::get_theme() { using namespace winrt::Windows::UI::ViewManagement;