summaryrefslogtreecommitdiff
path: root/libavformat/os_support.h
diff options
context:
space:
mode:
authorİsmail Dönmez <ismail@namtrac.org>2009-07-13 17:16:36 +0000
committerDiego Biurrun <diego@biurrun.de>2009-07-13 17:16:36 +0000
commitb504ce57ed18d2f0a6ace22c645cd5657315b521 (patch)
tree2bdf1abe4f39fe62903856465da93b2d33dbd421 /libavformat/os_support.h
parent3e962f315b90dc99a49f8b293a24ed15cd105a26 (diff)
Only #define lseek to _lseeki64 on MinGW, not MinGW CE.
This fixes compilation on WinCE, which does not support _lseeki64. patch by Ismail Dönmez, ismail namtrac org Originally committed as revision 19425 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/os_support.h')
-rw-r--r--libavformat/os_support.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index f6330d8c86..d4603632f7 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -29,7 +29,7 @@
#include "config.h"
-#ifdef __MINGW32__
+#if defined(__MINGW32__) && !defined(__MINGW32CE__)
# include <fcntl.h>
# define lseek(f,p,w) _lseeki64((f), (p), (w))
#endif