allow compiling with old versions of sdl2

This commit is contained in:
LDA 2024-06-25 22:13:51 -07:00
parent 624d41f94a
commit e1abce7091

View File

@ -235,7 +235,9 @@ public:
SDL_free(basePath); SDL_free(basePath);
} }
#if SDL_VERSION_ATLEAST(2, 0, 18)
SDL_SetHint(SDL_HINT_IME_SHOW_UI, "1"); SDL_SetHint(SDL_HINT_IME_SHOW_UI, "1");
#endif
m_signalHandler.setHandleInterrupt(true); m_signalHandler.setHandleInterrupt(true);
m_signalHandler.setHandleFatal(true); m_signalHandler.setHandleFatal(true);