summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-11-26 12:57:42 +0000
committerDarkvater <darkvater@openttd.org>2005-11-26 12:57:42 +0000
commit728aba9d7cf41f1aaba655b89da1fa687ecded10 (patch)
tree70ff31422b33d818ffb0291281d2327d83291d64 /saveload.c
parenta090886073dc6167aad68700bed4681d775ca5f3 (diff)
downloadopenttd-728aba9d7cf41f1aaba655b89da1fa687ecded10.tar.xz
(svn r3236) - Fix: warnings about 'CDECL must be used with ...' on VS6
Diffstat (limited to 'saveload.c')
-rw-r--r--saveload.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/saveload.c b/saveload.c
index dc7485eac..8cfc878bb 100644
--- a/saveload.c
+++ b/saveload.c
@@ -953,15 +953,8 @@ static void WriteMem(uint size)
//********************************************
#if defined(WITH_ZLIB)
-
-// This is needed to zlib uses the stdcall calling convention on visual studio
-#ifdef _MSC_VER
-# ifndef ZLIB_WINAPI
-# define ZLIB_WINAPI
-# endif
-#endif
-
#include <zlib.h>
+
static z_stream _z;
static bool InitReadZlib(void)