From 5858b44f42c76e698a4806f874f8cbaa1c64abaf Mon Sep 17 00:00:00 2001 From: jak1 Date: Fri, 7 Apr 2023 03:03:21 +0200 Subject: added undef so sdl_image macro, got redefined in sdl2 snapshot --- src/maingui.cpp | 1 + 1 file changed, 1 insertion(+) 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)) -- cgit v1.2.3-70-g09d2