diff -r b8ac8a8e27c4 -r ebd94f2d6385 src/stdafx.h --- a/src/stdafx.h Tue May 27 20:33:44 2008 +0000 +++ b/src/stdafx.h Tue May 27 21:41:00 2008 +0000 @@ -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 */