changeset 5101:a8f8b675035b libavformat

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
author diego
date Mon, 13 Jul 2009 17:16:36 +0000
parents 7f301df06994
children 81c37b782fba
files os_support.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/os_support.h	Sun Jul 12 22:31:05 2009 +0000
+++ b/os_support.h	Mon Jul 13 17:16:36 2009 +0000
@@ -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