diff options
author | Martin Storsjö <martin@martin.st> | 2012-09-13 13:55:32 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-11-24 18:14:27 +0300 |
commit | 233d50b275dd7cf6cc0656851e670e1b2dfba56f (patch) | |
tree | 268ad305fceaab47354a4274189f30f01f87ea41 /tools/qt-faststart.c | |
parent | 537b5b773b317af79d3a5b576ee9683e15ed84f6 (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/qt-faststart.c')
-rw-r--r-- | tools/qt-faststart.c | 5 |
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 |