src/stdlib/SDL_iconv.c
changeset 8879 f6e4f24df1ac
parent 8149 681eb46b8ac4
child 9306 817656bd36ec
equal deleted inserted replaced
8878:f7ba2119fd91 8879:f6e4f24df1ac
    30 /* Depending on which standard the iconv() was implemented with,
    30 /* Depending on which standard the iconv() was implemented with,
    31    iconv() may or may not use const char ** for the inbuf param.
    31    iconv() may or may not use const char ** for the inbuf param.
    32    If we get this wrong, it's just a warning, so no big deal.
    32    If we get this wrong, it's just a warning, so no big deal.
    33 */
    33 */
    34 #if defined(_XGP6) || defined(__APPLE__) || \
    34 #if defined(_XGP6) || defined(__APPLE__) || \
    35     (defined(__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)))
    35     (defined(__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) || \
       
    36     (defined(_NEWLIB_VERSION)))
    36 #define ICONV_INBUF_NONCONST
    37 #define ICONV_INBUF_NONCONST
    37 #endif
    38 #endif
    38 
    39 
    39 #include <errno.h>
    40 #include <errno.h>
    40 
    41