1
0
forked from 0ad/0ad

Add support for HAIKU detection by the SDL.

This was SVN commit r24366.
This commit is contained in:
Stan 2020-12-10 18:15:50 +00:00
parent d09c5bf8bc
commit cc65e0e8a2

View File

@ -84,7 +84,10 @@ const char* GetSDLSubsystem(SDL_Window* window)
subsystem = "OS/2";
break;
#endif
// Insert newer supported platforms here.
#if SDL_VERSION_ATLEAST(2, 0, 12)
case SDL_SYSWM_HAIKU:
subsystem = "Haiku";
#endif
#if SDL_VERSION_ATLEAST(2, 0, 11)
default:
debug_printf("Unknown platform, please add it to source/lib/external_libraries/libsdl.cpp\n");