Commit 94c27c0c authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

file: Fix a warning when posix_fadvise() isn't defined.

parent 534232c1
......@@ -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
/*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment