WinRT: made SDL_GetPlatform() return "WinRT" and not 'Unknown'
authorDavid Ludwig <dludwig@pobox.com>
Sat, 15 Nov 2014 10:19:39 -0500
changeset 92233805d8c13ae4
parent 9222 f4ef6e5fb804
child 9224 bc074eca6597
WinRT: made SDL_GetPlatform() return "WinRT" and not 'Unknown'

Thanks to Eric Wing for the heads-up on this!
src/SDL.c
     1.1 --- a/src/SDL.c	Sat Nov 15 10:12:36 2014 -0500
     1.2 +++ b/src/SDL.c	Sat Nov 15 10:19:39 2014 -0500
     1.3 @@ -439,6 +439,8 @@
     1.4      return "Solaris";
     1.5  #elif __WIN32__
     1.6      return "Windows";
     1.7 +#elif __WINRT__
     1.8 +    return "WinRT";
     1.9  #elif __IPHONEOS__
    1.10      return "iOS";
    1.11  #elif __PSP__