fix building with fluidsynth < 2.2.0 - now for real

This commit is contained in:
Fabian Greffrath 2022-02-25 13:00:31 +01:00
parent 59867c157f
commit 28fbc5ad30

View File

@ -19,7 +19,11 @@
#include "fluidsynth.h"
#if (FLUIDSYNTH_VERSION_MAJOR < 2 || (FLUIDSYNTH_VERSION_MAJOR >=2 && FLUIDSYNTH_VERSION_MINOR < 2))
typedef fluid_long_long_t long long
#if defined(_MSC_VER) && (_MSC_VER < 1800)
typedef __int64 fluid_long_long_t;
#else
typedef long long fluid_long_long_t;
#endif
#endif
#include "SDL.h"