Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-08-15 23:43:48 +0400
committerDiego Biurrun <diego@biurrun.de>2014-08-22 20:35:20 +0400
commit3526ab891c28396ada8b58bf7647309bab30de1d (patch)
treead0b71332417660ea70ce94b91b0aa8c73a2458b /tools
parent1019b7c4edff537499c4a6cb0d65abae04ce58f6 (diff)
qt-faststart: Undefine fseeko/ftello before defining them
This avoids a number of redefinition warnings on MinGW64.
Diffstat (limited to 'tools')
-rw-r--r--tools/qt-faststart.c4
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