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>
pull/117/merge
Martin Storsjö 12 years ago committed by Diego Biurrun
parent 537b5b773b
commit 233d50b275
  1. 5
      tools/qt-faststart.c

@ -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

Loading…
Cancel
Save