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>
This commit is contained in:
James Almer 2017-04-04 15:58:11 -03:00
commit 2c40adf218
1 changed files with 4 additions and 1 deletions

View File

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