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
release/0.6
İsmail Dönmez 16 years ago committed by Diego Biurrun
parent 3e962f315b
commit b504ce57ed
  1. 2
      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

Loading…
Cancel
Save