src/unix.cpp
changeset 8335 9ebc441dddde
parent 7251 19f5ab36616e
child 8431 68fb2ccbce06
equal deleted inserted replaced
8334:bca925892b54 8335:9ebc441dddde
   228 {
   228 {
   229 	static char buf[1024];
   229 	static char buf[1024];
   230 	/* Work around buggy iconv implementation where inbuf is wrongly typed as
   230 	/* Work around buggy iconv implementation where inbuf is wrongly typed as
   231 	 * non-const. Correct implementation is at
   231 	 * non-const. Correct implementation is at
   232 	 * http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.html */
   232 	 * http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.html */
   233 #if defined (__GLIBC__) || defined (__GNU_LIBRARY__)
   233 #ifdef HAVE_BROKEN_ICONV
   234 	char *inbuf = (char*)name;
   234 	char *inbuf = (char*)name;
   235 #else
   235 #else
   236 	const char *inbuf = name;
   236 	const char *inbuf = name;
   237 #endif
   237 #endif
   238 
   238