SDL_image: IMG: fix -Wundef warning

From ba12c074ab2cd7de5630c48588be6c058e1432e8 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Thu, 25 Jan 2024 19:47:57 +0100
Subject: [PATCH] IMG: fix -Wundef warning

---
 src/IMG.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/IMG.c b/src/IMG.c
index 8682a76e..c378336f 100644
--- a/src/IMG.c
+++ b/src/IMG.c
@@ -165,7 +165,7 @@ void IMG_Quit(void)
 /* Load an image from a file */
 SDL_Surface *IMG_Load(const char *file)
 {
-#if __EMSCRIPTEN__
+#ifdef __EMSCRIPTEN__
     int w, h;
     char *data;
     SDL_Surface *surf;