From 2ff1deed60abc17e25c387ca862183c1402f59df Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Sun, 9 Jul 2017 15:03:17 -0400 Subject: [PATCH] Qt: Fix SDL < 2 build. --- src/platform/qt/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/qt/main.cpp b/src/platform/qt/main.cpp index 8b6de713d..812a86947 100644 --- a/src/platform/qt/main.cpp +++ b/src/platform/qt/main.cpp @@ -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