projects
/
platform
/
upstream
/
libvorbis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a373a6
)
For MinGW, use fseeko64 instead of _fseeki64 (which MinGW doesn't know about).
author
erikd
<erikd@xiph.org>
Sun, 5 Oct 2008 05:04:01 +0000
(
05:04
+0000)
committer
erikd
<erikd@xiph.org>
Sun, 5 Oct 2008 05:04:01 +0000
(
05:04
+0000)
svn path=/trunk/vorbis/; revision=15376
include/vorbis/vorbisfile.h
patch
|
blob
|
history
diff --git
a/include/vorbis/vorbisfile.h
b/include/vorbis/vorbisfile.h
index
fe3a3cc
..
e128fe8
100644
(file)
--- a/
include/vorbis/vorbisfile.h
+++ b/
include/vorbis/vorbisfile.h
@@
-50,7
+50,10
@@
typedef struct {
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);