nut files in cygwin patch by ("Sascha Sommer" <saschasommer at freenet dot de>)

Originally committed as revision 3054 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Sascha Sommer 2004-04-24 13:10:35 +00:00 committed by Michael Niedermayer
parent 2a86d50bd9
commit 45d6de9258
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ static int file_write(URLContext *h, unsigned char *buf, int size)
static offset_t file_seek(URLContext *h, offset_t pos, int whence)
{
int fd = (size_t)h->priv_data;
#ifdef CONFIG_WIN32
#if defined(CONFIG_WIN32) && !defined(__CYGWIN__)
return _lseeki64(fd, pos, whence);
#else
return lseek(fd, pos, whence);