From 233d50b275dd7cf6cc0656851e670e1b2dfba56f Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Thu, 13 Sep 2012 12:55:32 +0300 Subject: 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 --- tools/qt-faststart.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 #include -#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 -- cgit v1.2.3