summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
Diffstat (limited to 'saveload.c')
-rw-r--r--saveload.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/saveload.c b/saveload.c
index 5e5ff00a7..70d77eabc 100644
--- a/saveload.c
+++ b/saveload.c
@@ -958,7 +958,9 @@ static void WriteMem(uint size)
// This is needed to zlib uses the stdcall calling convention on visual studio
#ifdef _MSC_VER
-#define ZLIB_WINAPI
+# ifndef ZLIB_WINAPI
+# define ZLIB_WINAPI
+# endif
#endif
#include <zlib.h>