winrt: Patched to compile on Ryan's workstation. :)
authorRyan C. Gordon <icculus@icculus.org>
Wed, 06 Dec 2017 13:48:51 -0500
changeset 117255dc2ef223b08
parent 11724 73826bd39748
child 11726 27d08f1aab80
winrt: Patched to compile on Ryan's workstation. :)

I'm not sure why I needed this, but it appears to fix the build on VS2015 here.
include/SDL_platform.h
     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