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
commit43b09db5edd1eedf91a71952bb99bec727f815fa (patch)
tree70ff31422b33d818ffb0291281d2327d83291d64 /saveload.c
parentaf706b9ed34f2a365f292af0628df1dabcae8459 (diff)
downloadopenttd-43b09db5edd1eedf91a71952bb99bec727f815fa.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)