mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix SDL < 2 build.
This commit is contained in:
parent
8b4b634989
commit
2ff1deed60
|
@ -30,7 +30,7 @@ Q_IMPORT_PLUGIN(QWindowsAudioPlugin);
|
|||
using namespace QGBA;
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
#ifdef BUILD_SDL
|
||||
#if defined(BUILD_SDL) && SDL_VERSION_ATLEAST(2, 0, 0)
|
||||
SDL_SetMainReady();
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue