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:
authorMartin Storsjö <martin@martin.st>2012-09-13 13:55:32 +0400
committerDiego Biurrun <diego@biurrun.de>2016-11-24 18:14:27 +0300
commit233d50b275dd7cf6cc0656851e670e1b2dfba56f (patch)
tree268ad305fceaab47354a4274189f30f01f87ea41 /tools
parent537b5b773b317af79d3a5b576ee9683e15ed84f6 (diff)
qt-faststart: Do not try to use fancy 64-bit seeking functions on mingw32ce
These functions are not available on mingw32ce. Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'tools')
-rw-r--r--tools/qt-faststart.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/qt-faststart.c b/tools/qt-faststart.c
index 0db5ca2138..b798ccd4bf 100644
--- a/tools/qt-faststart.c
+++ b/tools/qt-faststart.c
@@ -29,7 +29,10 @@
#include <inttypes.h>
#include <string.h>
-#ifdef __MINGW32__
+#ifdef __MINGW32CE__
+#define fseeko(x, y, z) fseek(x, y, z)
+#define ftello(x) ftell(x)
+#elif defined(__MINGW32__)
#undef fseeko
#define fseeko(x, y, z) fseeko64(x, y, z)
#undef ftello