[vlc-devel] commit: file.c: fix compilation on gcc-win32 4.4.1 (Jean-Baptiste Kempf )
git version control
git at videolan.org
Wed Sep 2 11:05:32 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Sep 2 10:58:03 2009 +0200| [fe2f1a3af3eff54b087af5a0fb37588d453f8287] | committer: Jean-Baptiste Kempf
file.c: fix compilation on gcc-win32 4.4.1
Previous versions didn't seem to trigger an error here.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe2f1a3af3eff54b087af5a0fb37588d453f8287
---
modules/access/file.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/access/file.c b/modules/access/file.c
index c105b9b..8580953 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -134,6 +134,7 @@ struct access_sys_t
bool b_pace_control;
};
+#ifndef WIN32
static bool IsRemote (int fd)
{
#ifdef HAVE_FSTATFS
@@ -166,6 +167,7 @@ static bool IsRemote (int fd)
#endif
}
+#endif
#ifndef HAVE_POSIX_FADVISE
# define posix_fadvise(fd, off, len, adv)
More information about the vlc-devel
mailing list