From 2bb73d170caf93b203120d56e5ca6952abc7a2d1 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sat, 14 Feb 2015 00:08:48 +0100 Subject: [PATCH] Emscripten: Fixed SDL_GetPlatform() returning "Unknown" instead of "Emscripten". --- src/SDL.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SDL.c b/src/SDL.c index 69872dd6c..0e3512009 100644 --- a/src/SDL.c +++ b/src/SDL.c @@ -405,6 +405,8 @@ SDL_GetPlatform() return "BSDI"; #elif __DREAMCAST__ return "Dreamcast"; +#elif __EMSCRIPTEN__ + return "Emscripten"; #elif __FREEBSD__ return "FreeBSD"; #elif __HAIKU__