src/stdlib/SDL_iconv.c
changeset 5633 21a6e87905e3
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
     1.1 --- a/src/stdlib/SDL_iconv.c	Mon Aug 22 13:41:35 2011 -0400
     1.2 +++ b/src/stdlib/SDL_iconv.c	Mon Aug 22 14:25:11 2011 -0400
     1.3 @@ -31,8 +31,8 @@
     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 -    defined(__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2))
     1.9 +#if defined(_XGP6) || defined(__APPLE__) || \
    1.10 +    (defined(__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)))
    1.11  #define ICONV_INBUF_NONCONST
    1.12  #endif
    1.13