|
|
@@ -19,6 +19,8 @@
|
|
|
3. This notice may not be removed or altered from any source distribution.
|
|
|
*/
|
|
|
|
|
|
+// Modified by Lasse Oorni for Urho3D
|
|
|
+
|
|
|
/**
|
|
|
* \file SDL_platform.h
|
|
|
*
|
|
|
@@ -117,7 +119,9 @@
|
|
|
#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
|
|
|
/* Try to find out if we're compiling for WinRT or non-WinRT */
|
|
|
/* If _USING_V110_SDK71_ is defined it means we are using the v110_xp or v120_xp toolset. */
|
|
|
-#if defined(__MINGW32__) || (defined(_MSC_VER) && (_MSC_VER >= 1700) && !_USING_V110_SDK71_) /* _MSC_VER==1700 for MSVC 2012 */
|
|
|
+// Urho3D: not all MinGW versions contain the winapifamily.h include file. Only check for WinRT
|
|
|
+// on Visual Studio
|
|
|
+#if (defined(_MSC_VER) && (_MSC_VER >= 1700) && !_USING_V110_SDK71_) /* _MSC_VER==1700 for MSVC 2012 */
|
|
|
#include <winapifamily.h>
|
|
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
|
#undef __WINDOWS__
|