Merge commit '233d50b275dd7cf6cc0656851e670e1b2dfba56f'
authorJames Almer <jamrial@gmail.com>
Tue, 4 Apr 2017 18:58:11 +0000 (15:58 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 4 Apr 2017 18:58:11 +0000 (15:58 -0300)
* commit '233d50b275dd7cf6cc0656851e670e1b2dfba56f':
  qt-faststart: Do not try to use fancy 64-bit seeking functions on mingw32ce

Merged-by: James Almer <jamrial@gmail.com>
tools/qt-faststart.c

index 97be019..728f80c 100644 (file)
 #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