Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/auto/os
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-11-03 19:29:47 +0300
committerIgor Sysoev <igor@sysoev.ru>2009-11-03 19:29:47 +0300
commitc8832ccc1d88eae7088e01a34afbffa5cd2958bd (patch)
tree62a9d5352e6f1ddc48353bc1cdfb640c14d66e04 /auto/os
parent1bc750da2fb51a1f92f42e2e0613985fb4f71b64 (diff)
posix_fadvise64() had been implemented in Linux 2.5.60
Diffstat (limited to 'auto/os')
-rw-r--r--auto/os/linux6
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/os/linux b/auto/os/linux
index ed296ce90..9db5f26f3 100644
--- a/auto/os/linux
+++ b/auto/os/linux
@@ -35,6 +35,12 @@ then
fi
+# posix_fadvise64() had been implemented in 2.5.60
+
+if [ $version -lt 132412 ]; then
+ have=NGX_HAVE_POSIX_FADVISE . auto/nohave
+fi
+
# epoll, EPOLLET version
ngx_feature="epoll"