SDL: Makefile.os2: -DSDL_USE_LIBICONV to fix linkage for GNU libiconv option

From 39a0013900c4889ee9fc2104a48da801c515efdc Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 21 Dec 2023 08:55:04 +0300
Subject: [PATCH] Makefile.os2: -DSDL_USE_LIBICONV to fix linkage for GNU
 libiconv option

---
 Makefile.os2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.os2 b/Makefile.os2
index 4fa9a0933f4a..a063d683e8fe 100644
--- a/Makefile.os2
+++ b/Makefile.os2
@@ -56,7 +56,7 @@ CFLAGS_DLL+= -bd
 # iconv:
 LIBICONV_LIB=iconv2.lib
 !ifeq LIBICONV 1
-CFLAGS_DLL+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1
+CFLAGS_DLL+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DSDL_USE_LIBICONV
 LIBS+= $(ICONVLIB)
 !else
 LIBS+= libuls.lib libconv.lib