diff options
author | bjarni <bjarni@openttd.org> | 2008-07-27 20:43:21 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2008-07-27 20:43:21 +0000 |
commit | 3cbb3452244c330c4ffb2a00ccc0fe9c65b544c7 (patch) | |
tree | 66521a866b6e51c6ae57a87b83dc35e6bb9a8677 /src | |
parent | d6e8a15c8e07b908edbcc7418d78626b0d8db93a (diff) | |
download | openttd-3cbb3452244c330c4ffb2a00ccc0fe9c65b544c7.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.cpp | 2 |
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; |