Explorar o código

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

Thanks to Eric Wing for the heads-up on this!
David Ludwig %!s(int64=11) %!d(string=hai) anos
pai
achega
646025b6c2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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__