Protect against MinGW including Windows RT
This commit is contained in:
parent
83acffbf5c
commit
ba4d15886f
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
#include "gfx_dummy.hpp"
|
#include "gfx_dummy.hpp"
|
||||||
|
|
||||||
#ifdef PLATFORM_WINDOWS
|
#if defined(PLATFORM_WINDOWS) && !defined(__MINGW32__)
|
||||||
#include <winrt/Windows.UI.ViewManagement.h>
|
#include <winrt/Windows.UI.ViewManagement.h>
|
||||||
#pragma comment(lib, "windowsapp")
|
#pragma comment(lib, "windowsapp")
|
||||||
#endif
|
#endif
|
||||||
|
@ -516,7 +516,7 @@ int main(int argc, char* argv[]) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef PLATFORM_WINDOWS
|
#if defined(PLATFORM_WINDOWS) && !defined(__MINGW32__)
|
||||||
PlatformTheme platform::get_theme() {
|
PlatformTheme platform::get_theme() {
|
||||||
using namespace winrt::Windows::UI::ViewManagement;
|
using namespace winrt::Windows::UI::ViewManagement;
|
||||||
|
|
||||||
|
|
Reference in a new issue