src/stdlib/SDL_iconv.c
changeset 10644 594c17c446f6
parent 10504 9f8284fde4ea
child 10737 3406a0f8b041
equal deleted inserted replaced
10643:930938c7ca82 10644:594c17c446f6
    36 /* Depending on which standard the iconv() was implemented with,
    36 /* Depending on which standard the iconv() was implemented with,
    37    iconv() may or may not use const char ** for the inbuf param.
    37    iconv() may or may not use const char ** for the inbuf param.
    38    If we get this wrong, it's just a warning, so no big deal.
    38    If we get this wrong, it's just a warning, so no big deal.
    39 */
    39 */
    40 #if defined(_XGP6) || defined(__APPLE__) || \
    40 #if defined(_XGP6) || defined(__APPLE__) || \
       
    41     defined(__EMSCRIPTEN__) || \
    41     (defined(__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) || \
    42     (defined(__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) || \
    42     (defined(_NEWLIB_VERSION)))
    43     (defined(_NEWLIB_VERSION)))
    43 #define ICONV_INBUF_NONCONST
    44 #define ICONV_INBUF_NONCONST
    44 #endif
    45 #endif
    45 
    46