Skip to content

Commit

Permalink
Emscripten: Fixed SDL_GetPlatform() returning "Unknown" instead of "E…
Browse files Browse the repository at this point in the history
…mscripten".
  • Loading branch information
philippwiesemann committed Feb 13, 2015
1 parent d193283 commit 2bb73d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SDL.c
Expand Up @@ -405,6 +405,8 @@ SDL_GetPlatform()
return "BSDI";
#elif __DREAMCAST__
return "Dreamcast";
#elif __EMSCRIPTEN__
return "Emscripten";
#elif __FREEBSD__
return "FreeBSD";
#elif __HAIKU__
Expand Down

0 comments on commit 2bb73d1

Please sign in to comment.