From c1edc5b9c8244410fdad78586c54031ab18e3f97 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 22 Jan 2005 22:46:10 +0000 Subject: [PATCH] (svn r1595) EmergencySave() is only used on WIN32, add preprocessor guard to hide it everywhere else --- saveload.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/saveload.c b/saveload.c index 6ded90d26e..a4b73c75e4 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) {