diff options
author | ludde <ludde@openttd.org> | 2005-07-19 11:55:47 +0000 |
---|---|---|
committer | ludde <ludde@openttd.org> | 2005-07-19 11:55:47 +0000 |
commit | 5862c0a1741d8b8581ca2451e28fbac242e94d0c (patch) | |
tree | 6f17b42543cb89bd31a060f0a02f714c09ea6a0a /saveload.c | |
parent | 3e97dda275f59b2bcaea44c48ceba7a0ed054d9c (diff) | |
download | openttd-5862c0a1741d8b8581ca2451e28fbac242e94d0c.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.c | 1 |
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; |