# HG changeset patch # User diego # Date 1247505396 0 # Node ID a8f8b675035bd8f1891a590f8f3ee8d293daf04c # Parent 7f301df06994285f7c24a92b23c35324b54895a6 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 diff -r 7f301df06994 -r a8f8b675035b os_support.h --- 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 # define lseek(f,p,w) _lseeki64((f), (p), (w)) #endif