equal
deleted
inserted
replaced
142 { |
142 { |
143 static char buf[1024]; |
143 static char buf[1024]; |
144 /* Work around buggy iconv implementation where inbuf is wrongly typed as |
144 /* Work around buggy iconv implementation where inbuf is wrongly typed as |
145 * non-const. Correct implementation is at |
145 * non-const. Correct implementation is at |
146 * http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.html */ |
146 * http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.html */ |
147 #ifdef HAVE_BROKEN_ICONV |
147 #if defined(HAVE_BROKEN_ICONV) && !defined(__APPLE__) |
148 char *inbuf = (char*)name; |
148 char *inbuf = (char*)name; |
149 #else |
149 #else |
150 const char *inbuf = name; |
150 const char *inbuf = name; |
151 #endif |
151 #endif |
152 |
152 |