changeset 9727 | 3c06f03dadbe |
parent 9724 | ffff7f3fcd47 |
child 10310 | ca2eb5811a07 |
--- a/src/unix.cpp Sun Jul 27 18:36:11 2008 +0000 +++ b/src/unix.cpp Sun Jul 27 20:43:21 2008 +0000 @@ -144,7 +144,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(HAVE_BROKEN_ICONV) && !defined(__APPLE__) +#ifdef HAVE_BROKEN_ICONV char *inbuf = (char*)name; #else const char *inbuf = name;