summaryrefslogtreecommitdiff
path: root/src/maingui.cpp
diff options
context:
space:
mode:
authorjak1 <jak1@themanaworld.org>2023-04-07 03:03:21 +0200
committerjak1 <jak1@themanaworld.org>2023-04-07 03:03:21 +0200
commit5858b44f42c76e698a4806f874f8cbaa1c64abaf (patch)
treee3f17234b3d1e8e198ee6f2be6a878ee77a6f8d4 /src/maingui.cpp
parent7f4eacd484d72bcecf3605c4fba6d277bc9261ef (diff)
downloadmv-5858b44f42c76e698a4806f874f8cbaa1c64abaf.tar.gz
mv-5858b44f42c76e698a4806f874f8cbaa1c64abaf.tar.bz2
mv-5858b44f42c76e698a4806f874f8cbaa1c64abaf.tar.xz
mv-5858b44f42c76e698a4806f874f8cbaa1c64abaf.zip
added undef so sdl_image macro, got redefined in sdl2 snapshot
Diffstat (limited to 'src/maingui.cpp')
-rw-r--r--src/maingui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/maingui.cpp b/src/maingui.cpp
index 05231134c..bfd2879f5 100644
--- a/src/maingui.cpp
+++ b/src/maingui.cpp
@@ -81,6 +81,7 @@ PRAGMA48(GCC diagnostic pop)
SDL_VERSIONNUM(SDL_IMAGE_MAJOR_VERSION, \
SDL_IMAGE_MINOR_VERSION, SDL_IMAGE_PATCHLEVEL)
+#undef SDL_IMAGE_VERSION_ATLEAST
#define SDL_IMAGE_VERSION_ATLEAST(X, Y, Z) \
(SDL_IMAGE_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z))