Browse Source

Merge commit '233d50b275dd7cf6cc0656851e670e1b2dfba56f'

* commit '233d50b275dd7cf6cc0656851e670e1b2dfba56f':
  qt-faststart: Do not try to use fancy 64-bit seeking functions on mingw32ce

Merged-by: James Almer <jamrial@gmail.com>
James Almer 8 years ago
parent
commit
2c40adf218
1 changed files with 4 additions and 1 deletions
  1. 4 1
      tools/qt-faststart.c

+ 4 - 1
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