summaryrefslogtreecommitdiff
path: root/src/maingui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/maingui.cpp')
-rw-r--r--src/maingui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/maingui.cpp b/src/maingui.cpp
index f4d8d5f79..62aac8604 100644
--- a/src/maingui.cpp
+++ b/src/maingui.cpp
@@ -88,8 +88,10 @@ PRAGMA48(GCC diagnostic pop)
SDL_VERSIONNUM(SDL_MIXER_MAJOR_VERSION, \
SDL_MIXER_MINOR_VERSION, SDL_MIXER_PATCHLEVEL)
+#ifndef SDL_MIXER_VERSION_ATLEAST
#define SDL_MIXER_VERSION_ATLEAST(X, Y, Z) \
(SDL_MIXER_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z))
+#endif // SDL_MIXER_VERSION_ATLEAST
#include "debug.h"