Emscripten: Fixed SDL_GetPlatform() returning "Unknown" instead of "Emscripten".
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 14 Feb 2015 00:08:48 +0100
changeset 9341 873ef2706bed
parent 9340 af5be9462bb4
child 9342 fd83fb813389
Emscripten: Fixed SDL_GetPlatform() returning "Unknown" instead of "Emscripten".
src/SDL.c
--- a/src/SDL.c	Thu Feb 12 21:40:53 2015 +0100
+++ b/src/SDL.c	Sat Feb 14 00:08:48 2015 +0100
@@ -405,6 +405,8 @@
     return "BSDI";
 #elif __DREAMCAST__
     return "Dreamcast";
+#elif __EMSCRIPTEN__
+    return "Emscripten";
 #elif __FREEBSD__
     return "FreeBSD";
 #elif __HAIKU__