riscos: Fix iconv warnings SDL-1.2
authorCameron Cawley
Fri, 17 Aug 2018 23:23:42 +0100
branchSDL-1.2
changeset 127751f43bff960f8
parent 12774 5b49f9ec7036
child 12777 75aa8b37873d
riscos: Fix iconv warnings
src/stdlib/SDL_iconv.c
     1.1 --- a/src/stdlib/SDL_iconv.c	Fri Aug 17 21:18:31 2018 +0100
     1.2 +++ b/src/stdlib/SDL_iconv.c	Fri Aug 17 23:23:42 2018 +0100
     1.3 @@ -32,7 +32,7 @@
     1.4     iconv() may or may not use const char ** for the inbuf param.
     1.5     If we get this wrong, it's just a warning, so no big deal.
     1.6  */
     1.7 -#if defined(_XGP6) || \
     1.8 +#if defined(_XGP6) || defined(__RISCOS__) || \
     1.9      defined(__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2))
    1.10  #define ICONV_INBUF_NONCONST
    1.11  #endif