diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-10-26 06:14:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-10-26 06:14:58 +0300 |
commit | 350a67ec8ceef31726e1bc298b921add6cea6df1 (patch) | |
tree | a3eaf79f463de2fb44784d5221df7160eab28ff1 /src/maingui.cpp | |
parent | 30edbd58ad1fb03358f6fb5251ed7106353bb82a (diff) | |
download | manaverse-350a67ec8ceef31726e1bc298b921add6cea6df1.tar.gz manaverse-350a67ec8ceef31726e1bc298b921add6cea6df1.tar.bz2 manaverse-350a67ec8ceef31726e1bc298b921add6cea6df1.tar.xz manaverse-350a67ec8ceef31726e1bc298b921add6cea6df1.zip |
Fix compilation with old SDL2 again.
Diffstat (limited to 'src/maingui.cpp')
-rw-r--r-- | src/maingui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/maingui.cpp b/src/maingui.cpp index 62aac8604..71a5cd8d9 100644 --- a/src/maingui.cpp +++ b/src/maingui.cpp @@ -84,9 +84,11 @@ PRAGMA48(GCC diagnostic pop) #define SDL_IMAGE_VERSION_ATLEAST(X, Y, Z) \ (SDL_IMAGE_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z)) +#ifndef SDL_MIXER_COMPILEDVERSION #define SDL_MIXER_COMPILEDVERSION \ SDL_VERSIONNUM(SDL_MIXER_MAJOR_VERSION, \ SDL_MIXER_MINOR_VERSION, SDL_MIXER_PATCHLEVEL) +#endif // SDL_MIXER_COMPILEDVERSION #ifndef SDL_MIXER_VERSION_ATLEAST #define SDL_MIXER_VERSION_ATLEAST(X, Y, Z) \ |