WinRT: made SDL_GetPlatform() return "WinRT" and not 'Unknown'

Thanks to Eric Wing for the heads-up on this!
This commit is contained in:
David Ludwig 2014-11-15 10:19:39 -05:00
parent e6cca5e929
commit 646025b6c2
1 changed files with 2 additions and 0 deletions

View File

@ -439,6 +439,8 @@ SDL_GetPlatform()
return "Solaris"; return "Solaris";
#elif __WIN32__ #elif __WIN32__
return "Windows"; return "Windows";
#elif __WINRT__
return "WinRT";
#elif __IPHONEOS__ #elif __IPHONEOS__
return "iOS"; return "iOS";
#elif __PSP__ #elif __PSP__