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 /screenshot.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 'screenshot.c')
-rw-r--r-- | screenshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/screenshot.c b/screenshot.c index 1c4783804..963c5cff3 100644 --- a/screenshot.c +++ b/screenshot.c @@ -12,7 +12,7 @@ #include "screenshot.h" #include "variables.h" -#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) |