From 1ad06e9dd48093dfc40d74a1638f5ce915be5c62 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Fri, 17 Aug 2018 23:23:42 +0100 Subject: [PATCH] riscos: Fix iconv warnings --- src/stdlib/SDL_iconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdlib/SDL_iconv.c b/src/stdlib/SDL_iconv.c index fa56a99ec..d26e51851 100644 --- a/src/stdlib/SDL_iconv.c +++ b/src/stdlib/SDL_iconv.c @@ -32,7 +32,7 @@ iconv() may or may not use const char ** for the inbuf param. If we get this wrong, it's just a warning, so no big deal. */ -#if defined(_XGP6) || \ +#if defined(_XGP6) || defined(__RISCOS__) || \ defined(__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) #define ICONV_INBUF_NONCONST #endif