(svn r13849) -Fix: [OSX] 10.5 appears to be more picky when setting up compiling of universal binaries

This commit is contained in:
bjarni
2008-07-27 14:16:24 +00:00
parent 80725edc3d
commit 62c053729a
2 changed files with 3 additions and 3 deletions

View File

@@ -144,7 +144,7 @@ static const char *convert_tofrom_fs(iconv_t convd, const char *name)
/* 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 */
#ifdef HAVE_BROKEN_ICONV
#if defined(HAVE_BROKEN_ICONV) && !defined(__APPLE__)
char *inbuf = (char*)name;
#else
const char *inbuf = name;