diff --git a/WickedEngine/wiHelper.cpp b/WickedEngine/wiHelper.cpp index 6545cc0b2..e8e48e0d1 100644 --- a/WickedEngine/wiHelper.cpp +++ b/WickedEngine/wiHelper.cpp @@ -29,6 +29,7 @@ extern basist::etc1_global_selector_codebook g_basis_global_codebook; #include #include #include +#include #else #include // openfile #include @@ -1199,6 +1200,10 @@ namespace wi::helper void OpenUrl(const std::string& url) { +#ifdef PLATFORM_UWP + winrt::Windows::System::Launcher::LaunchUriAsync(winrt::Windows::Foundation::Uri(winrt::to_hstring(url))); +#endif // PLATFORM_UWP + #ifdef PLATFORM_WINDOWS_DESKTOP std::string op = "start " + url; int status = system(op.c_str());