From: Martin Storsjö Date: Thu, 13 Sep 2012 09:55:32 +0000 (+0300) Subject: qt-faststart: Do not try to use fancy 64-bit seeking functions on mingw32ce X-Git-Tag: android-x86-7.1-r1~252^2~223 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=233d50b275dd7cf6cc0656851e670e1b2dfba56f;p=android-x86%2Fexternal-ffmpeg.git 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 --- 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