diff options
author | tron <tron@openttd.org> | 2005-01-22 22:46:10 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-22 22:46:10 +0000 |
commit | c1edc5b9c8244410fdad78586c54031ab18e3f97 (patch) | |
tree | 5ff43fac5570d1899d279be8222d919672b758da | |
parent | 94d5aeabb217cb08acf1225342c28bb0ac44f676 (diff) | |
download | openttd-c1edc5b9c8244410fdad78586c54031ab18e3f97.tar.xz |
(svn r1595) EmergencySave() is only used on WIN32, add preprocessor guard to hide it everywhere else
-rw-r--r-- | saveload.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/saveload.c b/saveload.c index 6ded90d26..a4b73c75e 100644 --- a/saveload.c +++ b/saveload.c @@ -1134,11 +1134,13 @@ init_err: return SL_OK; } +#ifdef WIN32 bool EmergencySave(void) { SaveOrLoad("crash.sav", SL_SAVE); return true; } +#endif void DoExitSave(void) { |