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>
This commit is contained in:
Martin Storsjö 2012-09-13 12:55:32 +03:00 committed by Diego Biurrun
parent 537b5b773b
commit 233d50b275

View File

@ -29,7 +29,10 @@
#include <inttypes.h> #include <inttypes.h>
#include <string.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 #undef fseeko
#define fseeko(x, y, z) fseeko64(x, y, z) #define fseeko(x, y, z) fseeko64(x, y, z)
#undef ftello #undef ftello