Emscripten: Fixed SDL_GetPlatform() returning "Unknown" instead of "Emscripten".
This commit is contained in:
parent
d9c3c62015
commit
3506528b4d
1 changed files with 2 additions and 0 deletions
|
@ -405,6 +405,8 @@ SDL_GetPlatform()
|
|||
return "BSDI";
|
||||
#elif __DREAMCAST__
|
||||
return "Dreamcast";
|
||||
#elif __EMSCRIPTEN__
|
||||
return "Emscripten";
|
||||
#elif __FREEBSD__
|
||||
return "FreeBSD";
|
||||
#elif __HAIKU__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue