Commit 646025b6c218432c12445d6d34e3e30a3d4557c6

David Ludwig 2014-11-15T10:19:39

WinRT: made SDL_GetPlatform() return "WinRT" and not 'Unknown' Thanks to Eric Wing for the heads-up on this!

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/SDL.c b/src/SDL.c
index 1e2707d..69872dd 100644
--- a/src/SDL.c
+++ b/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__