diff options
author | rubidium <rubidium@openttd.org> | 2008-05-27 21:41:00 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-27 21:41:00 +0000 |
commit | 5c5ee7eb579d0ee6655e0b81f6169dca7632ab97 (patch) | |
tree | 086ec523744482fc8374da46db2a402e4b5c5d0a /src/stdafx.h | |
parent | 49a0bd7f90f3c48f81e9ad0bcabe87a77cf36e0f (diff) | |
download | openttd-5c5ee7eb579d0ee6655e0b81f6169dca7632ab97.tar.xz |
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
Diffstat (limited to 'src/stdafx.h')
-rw-r--r-- | src/stdafx.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h index 53289c438..9eb1a4e11 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -201,6 +201,11 @@ typedef _W64 unsigned int UINT_PTR, *PUINT_PTR; #endif /* WIN32 && !_WIN64 && !WIN64 */ + #if defined(_WIN64) || defined(WIN64) + #define fseek _fseeki64 + #endif /* _WIN64 || WIN64 */ + + #define GCC_PACK /* This is needed to zlib uses the stdcall calling convention on visual studio */ |