]> git.sesse.net Git - vlc/commitdiff
file.c: fix compilation on gcc-win32 4.4.1
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 2 Sep 2009 08:58:03 +0000 (10:58 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 2 Sep 2009 09:05:24 +0000 (11:05 +0200)
Previous versions didn't seem to trigger an error here.

modules/access/file.c

index c105b9baeeb7b3628e938c791056cacc6c11a666..8580953e1a392b07b3ecbf12a1dedd1c1a0f29ec 100644 (file)
@@ -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)