summaryrefslogtreecommitdiff
path: root/screenshot.c
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-03-18 16:37:25 +0000
committerbjarni <bjarni@openttd.org>2006-03-18 16:37:25 +0000
commit1c7d139171b546daca93d8149aff3f56e5e787ca (patch)
tree51222ed110b16d1008b241958e7b3471f4e4ce2c /screenshot.c
parent31e1c4fe49013d9609244ba2728f4cda4b1b8c75 (diff)
downloadopenttd-1c7d139171b546daca93d8149aff3f56e5e787ca.tar.xz
(svn r3972) changed r3966 to only affect OSX. Too bad linuxes with utf-8 filesystems now got the saving problem again, but now we can compile on all platforms again
Diffstat (limited to 'screenshot.c')
-rw-r--r--screenshot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screenshot.c b/screenshot.c
index 597bf5d45..1c4783804 100644
--- a/screenshot.c
+++ b/screenshot.c
@@ -12,11 +12,11 @@
#include "screenshot.h"
#include "variables.h"
-#ifdef UNIX
+#ifdef __APPLE__
extern const char *convert_to_fs_charset(const char *filename);
#else
#define convert_to_fs_charset(str) (str)
-#endif // UNIX
+#endif
char _screenshot_format_name[8];
uint _num_screenshot_formats;