1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 09:29:10 +00:00

(svn r3236) - Fix: warnings about 'CDECL must be used with ...' on VS6

This commit is contained in:
Darkvater
2005-11-26 12:57:42 +00:00
parent a090886073
commit 728aba9d7c
3 changed files with 11 additions and 10 deletions

View File

@@ -142,6 +142,14 @@
# undef TTD_ALIGNMENT_4
# undef TTD_ALIGNMENT_2
# define GCC_PACK
// This is needed to zlib uses the stdcall calling convention on visual studio, also used with libpng (VS6 warning)
# if defined(WITH_ZLIB) || defined(WITH_PNG)
# ifndef ZLIB_WINAPI
# define ZLIB_WINAPI
# endif
# endif
#endif /* defined(_MSC_VER) */