# HG changeset patch # User Igor Sysoev # Date 1257265787 0 # Node ID 7c80f584c3a98c1ebc69295b27bfae4bf82bf21d # Parent 3ba82806ec9a4275142e049e77a487989ec59ad2 posix_fadvise64() had been implemented in Linux 2.5.60 diff --git a/auto/os/linux b/auto/os/linux --- 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"