changeset 8335 | 9ebc441dddde |
parent 7251 | 19f5ab36616e |
child 8431 | 68fb2ccbce06 |
--- a/src/unix.cpp Wed Nov 07 14:33:52 2007 +0000 +++ b/src/unix.cpp Wed Nov 07 21:35:33 2007 +0000 @@ -230,7 +230,7 @@ /* Work around buggy iconv implementation where inbuf is wrongly typed as * non-const. Correct implementation is at * http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.html */ -#if defined (__GLIBC__) || defined (__GNU_LIBRARY__) +#ifdef HAVE_BROKEN_ICONV char *inbuf = (char*)name; #else const char *inbuf = name;