[xiph-commits] r15376 - trunk/vorbis/include/vorbis
erikd at svn.xiph.org
erikd at svn.xiph.org
Sat Oct 4 22:04:03 PDT 2008
Author: erikd
Date: 2008-10-04 22:04:01 -0700 (Sat, 04 Oct 2008)
New Revision: 15376
Modified:
trunk/vorbis/include/vorbis/vorbisfile.h
Log:
For MinGW, use fseeko64 instead of _fseeki64 (which MinGW doesn't know about).
Modified: trunk/vorbis/include/vorbis/vorbisfile.h
===================================================================
--- trunk/vorbis/include/vorbis/vorbisfile.h 2008-10-04 21:15:15 UTC (rev 15375)
+++ trunk/vorbis/include/vorbis/vorbisfile.h 2008-10-05 05:04:01 UTC (rev 15376)
@@ -50,7 +50,10 @@
static int _ov_header_fseek_wrap(FILE *f,ogg_int64_t off,int whence){
if(f==NULL)return(-1);
-#ifdef _WIN32
+
+#ifdef __MINGW32__
+ return fseeko64(f,off,whence);
+#elif defined (_WIN32)
return _fseeki64(f,off,whence);
#else
return fseek(f,off,whence);
More information about the commits
mailing list