[Vorbis-dev] Attn Ivo. Re patches 15347 and 15376
Erik de Castro Lopo
mle+la at mega-nerd.com
Sat Oct 4 22:09:26 PDT 2008
Ivo,
Your patch number 16347 uses _fseeki64 when _WIN32 is defined.
Unfortunately, MinGW (or at least the Linux -> Win32 cross compiler
I'm using) defines _WIN32 but isn't aware of _fseeki64.
I have therefore modified your solution a little and commited it
as rev 15376. The code now looks like this:
#ifdef __MINGW32__
return fseeko64(f,off,whence);
#elif defined (_WIN32)
return _fseeki64(f,off,whence);
#else
return fseek(f,off,whence);
#endif
which should work for MinGW and the windows compilers.
However, since I don't have access to windows, can you please check
and confirm that this hasn't broken anything?
Cheers,
Erik
--
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"Don't hate the media. Become the media."
- Jello Biafra
More information about the Vorbis-dev
mailing list