Archived
1
Fork 0

Protect against MinGW including Windows RT

This commit is contained in:
Joshua Goins 2022-02-21 15:41:42 -05:00
parent 83acffbf5c
commit ba4d15886f

View file

@ -18,7 +18,7 @@
#include "gfx_dummy.hpp"
#ifdef PLATFORM_WINDOWS
#if defined(PLATFORM_WINDOWS) && !defined(__MINGW32__)
#include <winrt/Windows.UI.ViewManagement.h>
#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;