summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-10-02 22:39:56 +0000
committerDarkvater <darkvater@openttd.org>2005-10-02 22:39:56 +0000
commita3d40a29fc10e67c4a1b7cbd7fd519da030167af (patch)
tree5bcc6532a22928d167bf464a1c93f8aafbefa0f6 /saveload.c
parente8fac6c6cb2a19a15b57c9629b0f69de37acecd2 (diff)
downloadopenttd-a3d40a29fc10e67c4a1b7cbd7fd519da030167af.tar.xz
(svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)
Fix warning in graph_gui.c with const problem
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>