OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
537b5b7
)
qt-faststart: Do not try to use fancy 64-bit seeking functions on mingw32ce
author
Martin Storsjö
<martin@martin.st>
Thu, 13 Sep 2012 09:55:32 +0000
(12:55 +0300)
committer
Diego 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
patch
|
blob
|
history
diff --git
a/tools/qt-faststart.c
b/tools/qt-faststart.c
index
0db5ca2
..
b798ccd
100644
(file)
--- a/
tools/qt-faststart.c
+++ b/
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