Commit 652658d8 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

use F_NOCACHE not only for macos

parent cb316c4c
......@@ -498,7 +498,7 @@ int main (int argc, char **argv)
err(2, "failed to open \"%s\"", path);
}
#ifdef __APPLE__
#ifdef F_NOCACHE
if (fcntl(fd, F_NOCACHE, direct))
err(2, "fcntl nocache failed");
#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