[FFmpeg-cvslog] r19425 - trunk/libavformat/os_support.h

diego subversion
Mon Jul 13 19:16:37 CEST 2009


Author: diego
Date: Mon Jul 13 19:16:36 2009
New Revision: 19425

Log:
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

Modified:
   trunk/libavformat/os_support.h

Modified: trunk/libavformat/os_support.h
==============================================================================
--- trunk/libavformat/os_support.h	Mon Jul 13 03:59:48 2009	(r19424)
+++ trunk/libavformat/os_support.h	Mon Jul 13 19:16:36 2009	(r19425)
@@ -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



More information about the ffmpeg-cvslog mailing list