diff --git a/SpaceCadetPinball/pch.h b/SpaceCadetPinball/pch.h index e745878..2e59e8e 100644 --- a/SpaceCadetPinball/pch.h +++ b/SpaceCadetPinball/pch.h @@ -36,8 +36,9 @@ #include // MIX_INIT_FLUIDSYNTH was renamed to MIX_INIT_MID in SDL_mixer v2.0.2 +// Older versions of SDL_mixer did not have SDL_MIXER_VERSION_ATLEAST constexpr int MIX_INIT_MID_Proxy = -#if SDL_MIXER_PATCHLEVEL >= 2 +#if SDL_VERSIONNUM(SDL_MIXER_MAJOR_VERSION, SDL_MIXER_MINOR_VERSION, SDL_MIXER_PATCHLEVEL) >= SDL_VERSIONNUM(2, 0, 2) MIX_INIT_MID; #else MIX_INIT_FLUIDSYNTH;