From 646025b6c218432c12445d6d34e3e30a3d4557c6 Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Sat, 15 Nov 2014 10:19:39 -0500 Subject: [PATCH] WinRT: made SDL_GetPlatform() return "WinRT" and not 'Unknown' Thanks to Eric Wing for the heads-up on this! --- src/SDL.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SDL.c b/src/SDL.c index 1e2707d9c..69872dd6c 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__