mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2023-12-30 21:52:56 +00:00
parent
6f00b57eb9
commit
54a217c27b
@ -36,8 +36,9 @@
|
||||
#include <SDL_mixer.h>
|
||||
|
||||
// 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;
|
||||
|
Loading…
Reference in New Issue
Block a user