Still more compiler warning fixes for various platforms.

This commit is contained in:
Ryan C. Gordon
2016-11-23 17:20:28 -05:00
parent 40c2a6fb55
commit 232ae68864
4 changed files with 12 additions and 5 deletions

View File

@@ -38,6 +38,7 @@
If we get this wrong, it's just a warning, so no big deal.
*/
#if defined(_XGP6) || defined(__APPLE__) || \
defined(__EMSCRIPTEN__) || \
(defined(__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) || \
(defined(_NEWLIB_VERSION)))
#define ICONV_INBUF_NONCONST