]> git.sesse.net Git - ffmpeg/commitdiff
Only #define lseek to _lseeki64 on MinGW, not MinGW CE.
authorİsmail Dönmez <ismail@namtrac.org>
Mon, 13 Jul 2009 17:16:36 +0000 (17:16 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 13 Jul 2009 17:16:36 +0000 (17:16 +0000)
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

libavformat/os_support.h

index f6330d8c860a361f08d3e64b959eb3ff7b735297..d4603632f7477ba0f9d4a96507ad647ae435ffde 100644 (file)
@@ -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