]> git.sesse.net Git - vlc/commitdiff
file: Fix a warning when posix_fadvise() isn't defined.
authorPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 09:03:36 +0000 (11:03 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 09:31:01 +0000 (11:31 +0200)
modules/access/file.c

index 817f093857e822f1f39629037538d16bdbbf1cd9..4d5c7f6cbec160eefd43cd3e0bac2f7b8a8c5063 100644 (file)
@@ -165,7 +165,7 @@ static bool IsRemote (int fd)
 }
 
 #ifndef HAVE_POSIX_FADVISE
-# define posix_fadvise(fd, off, len, adv) (0)
+# define posix_fadvise(fd, off, len, adv)
 #endif
 
 /*****************************************************************************