diff options
author | jak1 <jak1@themanaworld.org> | 2023-04-07 03:03:21 +0200 |
---|---|---|
committer | jak1 <jak1@themanaworld.org> | 2023-04-07 03:03:21 +0200 |
commit | 5858b44f42c76e698a4806f874f8cbaa1c64abaf (patch) | |
tree | e3f17234b3d1e8e198ee6f2be6a878ee77a6f8d4 | |
parent | 7f4eacd484d72bcecf3605c4fba6d277bc9261ef (diff) | |
download | manaverse-5858b44f42c76e698a4806f874f8cbaa1c64abaf.tar.gz manaverse-5858b44f42c76e698a4806f874f8cbaa1c64abaf.tar.bz2 manaverse-5858b44f42c76e698a4806f874f8cbaa1c64abaf.tar.xz manaverse-5858b44f42c76e698a4806f874f8cbaa1c64abaf.zip |
added undef so sdl_image macro, got redefined in sdl2 snapshot
-rw-r--r-- | src/maingui.cpp | 1 |
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)) |