SDL_image: svg: strstr might be defined as a macro (c4400)

From c4400b23f2eee83b7527582403a131c2fe987ce5 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Thu, 30 Apr 2026 17:11:14 +0200
Subject: [PATCH] svg: strstr might be defined as a macro

glibc 2.43 defines strstr as:

__glibc_const_generic (HAYSTACK, const char *,
strstr (HAYSTACK, NEEDLE))


(cherry picked from commit 541225d182f7cdc271db0237d8f5e668aa0b3229)
---
 src/IMG_svg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/IMG_svg.c b/src/IMG_svg.c
index 165f9a54f..9ff730aed 100644
--- a/src/IMG_svg.c
+++ b/src/IMG_svg.c
@@ -54,6 +54,7 @@ static float SDLCALL SDL_roundf(float x)
 #undef strncpy
 #define strncpy SDL_strlcpy
 #define strlen  SDL_strlen
+#undef strstr
 #define strstr  SDL_strstr
 #define strtol  SDL_strtol
 #define strtoll SDL_strtoll