mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 11:58:12 +00:00
Emscripten: Fixed SDL_GetPlatform() returning "Unknown" instead of "Emscripten".
This commit is contained in:
@@ -405,6 +405,8 @@ SDL_GetPlatform()
|
|||||||
return "BSDI";
|
return "BSDI";
|
||||||
#elif __DREAMCAST__
|
#elif __DREAMCAST__
|
||||||
return "Dreamcast";
|
return "Dreamcast";
|
||||||
|
#elif __EMSCRIPTEN__
|
||||||
|
return "Emscripten";
|
||||||
#elif __FREEBSD__
|
#elif __FREEBSD__
|
||||||
return "FreeBSD";
|
return "FreeBSD";
|
||||||
#elif __HAIKU__
|
#elif __HAIKU__
|
||||||
|
Reference in New Issue
Block a user