Fix compiler warnings in Native Client and Linux builds.

This commit is contained in:
Sam Clegg
2014-06-20 11:10:16 -03:00
parent 6c5cb5400f
commit 7e52722dfd
10 changed files with 34 additions and 7 deletions

View File

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