From 78730d4c71c08909d4c8f6f7de84d0148906040b Mon Sep 17 00:00:00 2001 From: bjarni Date: Sun, 27 Jul 2008 20:43:21 +0000 Subject: (svn r13852) -Fix (r13849): [OSX] fixed universal binary building without breaking anything this time --- src/unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unix.cpp') diff --git a/src/unix.cpp b/src/unix.cpp index 75dc25bd8..7fafd3d67 100644 --- a/src/unix.cpp +++ b/src/unix.cpp @@ -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 */ -#if defined(HAVE_BROKEN_ICONV) && !defined(__APPLE__) +#ifdef HAVE_BROKEN_ICONV char *inbuf = (char*)name; #else const char *inbuf = name; -- cgit v1.2.3-54-g00ecf