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 817f093..4d5c7f6 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
 
 /*****************************************************************************