diff options
author | bjarni <bjarni@openttd.org> | 2006-03-22 13:06:50 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-03-22 13:06:50 +0000 |
commit | 0b102f0e007a93209206c0fd898d725c402e16b2 (patch) | |
tree | eda101e579e395fa1de8cb0fac3a661484c4946f /saveload.c | |
parent | adab6f643878284b20eba0dff535923f6c1d8d8b (diff) | |
download | openttd-0b102f0e007a93209206c0fd898d725c402e16b2.tar.xz |
(svn r4019) -Fix: [OSX] stopped using iconv for 10.2.8, since it was added in 10.3
this have the sideeffect that 10.2.8 will still have the "failure to save with certain chars in the filename bug", but at least it can compile again
Diffstat (limited to 'saveload.c')
-rw-r--r-- | saveload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/saveload.c b/saveload.c index 7f2e19191..653ff2402 100644 --- a/saveload.c +++ b/saveload.c @@ -1314,7 +1314,7 @@ extern bool AfterLoadGame(void); extern void BeforeSaveGame(void); extern bool LoadOldSaveGame(const char *file); -#ifdef __APPLE__ +#if defined(__APPLE__) && (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3) extern const char *convert_to_fs_charset(const char *filename); #else #define convert_to_fs_charset(str) (str) |