summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2008-07-27 20:43:21 +0000
committerbjarni <bjarni@openttd.org>2008-07-27 20:43:21 +0000
commit78730d4c71c08909d4c8f6f7de84d0148906040b (patch)
tree66521a866b6e51c6ae57a87b83dc35e6bb9a8677 /src
parent1aa6e00b485f005d248c985bc27ca61ccd1f2109 (diff)
downloadopenttd-78730d4c71c08909d4c8f6f7de84d0148906040b.tar.xz
(svn r13852) -Fix (r13849): [OSX] fixed universal binary building without breaking anything this time
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 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;