include/SDL_platform.h
changeset 8614 a98cd2320e82
parent 8584 58a69af25ccc
child 8630 e217ed463f25
     1.1 --- a/include/SDL_platform.h	Wed Mar 12 12:14:47 2014 -0400
     1.2 +++ b/include/SDL_platform.h	Wed Mar 12 23:44:23 2014 -0700
     1.3 @@ -116,7 +116,8 @@
     1.4  
     1.5  #if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
     1.6  /* Try to find out if we're compiling for WinRT or non-WinRT */
     1.7 -#if defined(__MINGW32__) || (defined(_MSC_VER) && (_MSC_VER >= 1700))	/* _MSC_VER==1700 for MSVC 2012 */
     1.8 +/* If _USING_V110_SDK71_ is defined it means we are using the v110_xp or v120_xp toolset. */
     1.9 +#if defined(__MINGW32__) || (defined(_MSC_VER) && (_MSC_VER >= 1700) && !_USING_V110_SDK71_)	/* _MSC_VER==1700 for MSVC 2012 */
    1.10  #include <winapifamily.h>
    1.11  #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
    1.12  #undef __WINDOWS__