mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-12-18 10:37:53 +01:00
parent
6f00b57eb9
commit
54a217c27b
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue