mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
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:
parent
537b5b773b
commit
233d50b275
@ -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…
Reference in New Issue
Block a user