include/SDL_platform.h
changeset 11725 5dc2ef223b08
parent 11469 71610a71bbb2
child 11811 5d94cb6b24d3
     1.1 --- a/include/SDL_platform.h	Mon Dec 04 20:37:01 2017 -0800
     1.2 +++ b/include/SDL_platform.h	Wed Dec 06 13:48:51 2017 -0500
     1.3 @@ -121,7 +121,12 @@
     1.4  #if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__)
     1.5  /* Try to find out if we're compiling for WinRT or non-WinRT */
     1.6  #if defined(_MSC_VER) && defined(__has_include)
     1.7 -#define HAVE_WINAPIFAMILY_H __has_include(<winapifamily.h>)
     1.8 +#if __has_include(<winapifamily.h>)
     1.9 +#define HAVE_WINAPIFAMILY_H 1
    1.10 +#else
    1.11 +#define HAVE_WINAPIFAMILY_H 0
    1.12 +#endif
    1.13 +
    1.14  /* If _USING_V110_SDK71_ is defined it means we are using the Windows XP toolset. */
    1.15  #elif defined(_MSC_VER) && (_MSC_VER >= 1700 && !_USING_V110_SDK71_)    /* _MSC_VER == 1700 for Visual Studio 2012 */
    1.16  #define HAVE_WINAPIFAMILY_H 1