summaryrefslogtreecommitdiff
path: root/qt-faststart.c
diff options
context:
space:
mode:
Diffstat (limited to 'qt-faststart.c')
-rw-r--r--qt-faststart.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-faststart.c b/qt-faststart.c
index 2fc5a161cc..2cc6863152 100644
--- a/qt-faststart.c
+++ b/qt-faststart.c
@@ -24,6 +24,11 @@
#include <stdlib.h>
#include <inttypes.h>
+#ifdef __MINGW32__
+#define fseeko(x,y,z) fseeko64(x,y,z)
+#define ftello(x) ftello64(x)
+#endif
+
#define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1])
#define BE_32(x) ((((uint8_t*)(x))[0] << 24) | \
(((uint8_t*)(x))[1] << 16) | \