summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2008-07-27 14:16:24 +0000
committerbjarni <bjarni@openttd.org>2008-07-27 14:16:24 +0000
commit62c053729a8a096cbf0833ed2eb355822e3d18ee (patch)
treea372a4c0744ba855eede5a9990fe5283595368eb /src
parent80725edc3da3b3f30fdad9a71e69ec6b461ba6c0 (diff)
downloadopenttd-62c053729a8a096cbf0833ed2eb355822e3d18ee.tar.xz
(svn r13849) -Fix: [OSX] 10.5 appears to be more picky when setting up compiling of universal binaries
Diffstat (limited to 'src')
-rw-r--r--src/unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix.cpp b/src/unix.cpp
index 7fafd3d67..75dc25bd8 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 */
-#ifdef HAVE_BROKEN_ICONV
+#if defined(HAVE_BROKEN_ICONV) && !defined(__APPLE__)
char *inbuf = (char*)name;
#else
const char *inbuf = name;