From 777bd376f6d7ca5a7700ffccafef64e3edf18aa2 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 24 Apr 2004 13:10:35 +0000 Subject: [PATCH] nut files in cygwin patch by ("Sascha Sommer" ) git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3054 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavformat/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/file.c b/libavformat/file.c index 00837c8fb..f7329e792 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); -- 2.39.2