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