]> git.sesse.net Git - ffmpeg/commitdiff
qt-faststart: Do not try to use fancy 64-bit seeking functions on mingw32ce
authorMartin Storsjö <martin@martin.st>
Thu, 13 Sep 2012 09:55:32 +0000 (12:55 +0300)
committerDiego Biurrun <diego@biurrun.de>
Thu, 24 Nov 2016 15:14:27 +0000 (16:14 +0100)
These functions are not available on mingw32ce.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
tools/qt-faststart.c

index 0db5ca21384c5eb3f8fc3117b9c7dd7016b79853..b798ccd4bf5c8586f87b77ef34494b898831676f 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