summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
Diffstat (limited to 'saveload.c')
-rw-r--r--saveload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/saveload.c b/saveload.c
index 2371450f6..7f2e19191 100644
--- a/saveload.c
+++ b/saveload.c
@@ -1314,11 +1314,11 @@ extern bool AfterLoadGame(void);
extern void BeforeSaveGame(void);
extern bool LoadOldSaveGame(const char *file);
-#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
/** Small helper function to close the to be loaded savegame an signal error */
static inline SaveOrLoadResult AbortSaveLoad(void)