changeset 7839 | feb131e32620 |
parent 6755 | 7cca96e92189 |
child 7935 | c2d1b2f4ecd6 |
--- 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;