WinRT: made SDL_GetPlatform() return "WinRT" and not 'Unknown'
authorDavid Ludwig <dludwig@pobox.com>
Sat, 15 Nov 2014 10:19:39 -0500
changeset 9223 3805d8c13ae4
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
--- a/src/SDL.c	Sat Nov 15 10:12:36 2014 -0500
+++ b/src/SDL.c	Sat Nov 15 10:19:39 2014 -0500
@@ -439,6 +439,8 @@
     return "Solaris";
 #elif __WIN32__
     return "Windows";
+#elif __WINRT__
+    return "WinRT";
 #elif __IPHONEOS__
     return "iOS";
 #elif __PSP__