SDL_image: svg: strstr might be defined as a macro

From 541225d182f7cdc271db0237d8f5e668aa0b3229 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))

---
 src/IMG_svg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/IMG_svg.c b/src/IMG_svg.c
index bd1b1eb5e..8b5fa5c2d 100644
--- a/src/IMG_svg.c
+++ b/src/IMG_svg.c
@@ -46,6 +46,7 @@
 #undef strncpy
 #define strncpy SDL_strlcpy
 #define strlen  SDL_strlen
+#undef strstr
 #define strstr  SDL_strstr
 #define strtol  SDL_strtol
 #define strtoll SDL_strtoll