summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
authorludde <ludde@openttd.org>2005-07-19 11:55:47 +0000
committerludde <ludde@openttd.org>2005-07-19 11:55:47 +0000
commit868938a64bf3145172e5007ff16492c619d88036 (patch)
tree6f17b42543cb89bd31a060f0a02f714c09ea6a0a /saveload.c
parent08725cd6dfa1bc06adf3f3909e811e7abef64538 (diff)
downloadopenttd-868938a64bf3145172e5007ff16492c619d88036.tar.xz
(svn r2636) Fix: Switched to using the _fastcall calling convention instead of cdecl. (Please tell me if you get linking problems)
Diffstat (limited to 'saveload.c')
-rw-r--r--saveload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/saveload.c b/saveload.c
index 8739daca1..365f0b496 100644
--- a/saveload.c
+++ b/saveload.c
@@ -905,6 +905,7 @@ static void WriteMem(uint size)
//********************************************
#if defined(WITH_ZLIB)
+#define ZLIB_WINAPI // Needed so zlib uses the right calling convention.
#include <zlib.h>
static z_stream _z;