From: Steve L'Homme Date: Mon, 27 Mar 2006 16:34:21 +0000 (+0000) Subject: #define fseeko/ftello to fseeko64/ftello64, fixes MinGW compilation. X-Git-Tag: v0.5~12908 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8fcaf4019ccb7b5ca5e88f2544afab69c0a3e87;p=platform%2Fupstream%2Flibav.git #define fseeko/ftello to fseeko64/ftello64, fixes MinGW compilation. patch by Steve Lhomme, steve.,.,.lhomme.,@,.free.,.,.fr Originally committed as revision 5230 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/qt-faststart.c b/qt-faststart.c index 2fc5a16..2cc6863 100644 --- a/qt-faststart.c +++ b/qt-faststart.c @@ -24,6 +24,11 @@ #include #include +#ifdef __MINGW32__ +#define fseeko(x,y,z) fseeko64(x,y,z) +#define ftello(x) ftello64(x) +#endif + #define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1]) #define BE_32(x) ((((uint8_t*)(x))[0] << 24) | \ (((uint8_t*)(x))[1] << 16) | \