summaryrefslogtreecommitdiff
path: root/tools/qt-faststart.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-09-13 12:55:32 +0300
committerDiego Biurrun <diego@biurrun.de>2016-11-24 16:14:27 +0100
commit233d50b275dd7cf6cc0656851e670e1b2dfba56f (patch)
tree268ad305fceaab47354a4274189f30f01f87ea41 /tools/qt-faststart.c
parent537b5b773b317af79d3a5b576ee9683e15ed84f6 (diff)
downloadffmpeg-233d50b275dd7cf6cc0656851e670e1b2dfba56f.tar.gz
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/qt-faststart.c')
-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