diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-08-15 21:43:48 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-08-22 18:35:20 +0200 |
commit | 3526ab891c28396ada8b58bf7647309bab30de1d (patch) | |
tree | ad0b71332417660ea70ce94b91b0aa8c73a2458b /tools/qt-faststart.c | |
parent | 1019b7c4edff537499c4a6cb0d65abae04ce58f6 (diff) | |
download | ffmpeg-3526ab891c28396ada8b58bf7647309bab30de1d.tar.gz |
qt-faststart: Undefine fseeko/ftello before defining them
This avoids a number of redefinition warnings on MinGW64.
Diffstat (limited to 'tools/qt-faststart.c')
-rw-r--r-- | tools/qt-faststart.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/qt-faststart.c b/tools/qt-faststart.c index ed6de1b86c..0db5ca2138 100644 --- a/tools/qt-faststart.c +++ b/tools/qt-faststart.c @@ -30,10 +30,14 @@ #include <string.h> #ifdef __MINGW32__ +#undef fseeko #define fseeko(x, y, z) fseeko64(x, y, z) +#undef ftello #define ftello(x) ftello64(x) #elif defined(_WIN32) +#undef fseeko #define fseeko(x, y, z) _fseeki64(x, y, z) +#undef ftello #define ftello(x) _ftelli64(x) #endif |