Browse Source

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

Thanks to Eric Wing for the heads-up on this!
David Ludwig 10 years ago
parent
commit
646025b6c2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/SDL.c

+ 2 - 0
src/SDL.c

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