summaryrefslogtreecommitdiff
path: root/libavformat/file.c
diff options
context:
space:
mode:
authorSascha Sommer <saschasommer@freenet.de>2004-04-24 13:10:35 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-24 13:10:35 +0000
commit45d6de92585d480a278a84922e749399b7e7dffc (patch)
treeb041c9d18a5f100cedb414a4efd02cfbbf619a88 /libavformat/file.c
parent2a86d50bd968f02da40e57ca1a7087aa6286ccbb (diff)
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
Diffstat (limited to 'libavformat/file.c')
-rw-r--r--libavformat/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/file.c b/libavformat/file.c
index 00837c8fbb..f7329e7923 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -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);