From c8832ccc1d88eae7088e01a34afbffa5cd2958bd Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 3 Nov 2009 16:29:47 +0000 Subject: [PATCH] posix_fadvise64() had been implemented in Linux 2.5.60 --- auto/os/linux | 6 ++++++ 1 file changed, 6 insertions(+) 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"