include/SDL_platform.h
changeset 11469 71610a71bbb2
parent 11329 3ed56acc90ca
child 11725 5dc2ef223b08
equal deleted inserted replaced
11468:a39f1b8ff998 11469:71610a71bbb2
   118 #define __SOLARIS__ 1
   118 #define __SOLARIS__ 1
   119 #endif
   119 #endif
   120 
   120 
   121 #if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__)
   121 #if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__)
   122 /* Try to find out if we're compiling for WinRT or non-WinRT */
   122 /* Try to find out if we're compiling for WinRT or non-WinRT */
   123 #if defined(_MSC_VER) && _MSC_VER >= 1910                               /* _MSC_VER == 1910 for Visual Studio 2017 */
   123 #if defined(_MSC_VER) && defined(__has_include)
   124 #define HAVE_WINAPIFAMILY_H __has_include(<winapifamily.h>)
   124 #define HAVE_WINAPIFAMILY_H __has_include(<winapifamily.h>)
   125 /* If _USING_V110_SDK71_ is defined it means we are using the Windows XP toolset. */
   125 /* If _USING_V110_SDK71_ is defined it means we are using the Windows XP toolset. */
   126 #elif defined(_MSC_VER) && (_MSC_VER >= 1700 && !_USING_V110_SDK71_)    /* _MSC_VER == 1700 for Visual Studio 2012 */
   126 #elif defined(_MSC_VER) && (_MSC_VER >= 1700 && !_USING_V110_SDK71_)    /* _MSC_VER == 1700 for Visual Studio 2012 */
   127 #define HAVE_WINAPIFAMILY_H 1
   127 #define HAVE_WINAPIFAMILY_H 1
   128 #else
   128 #else