Mercurial > hg > nginx
diff auto/os/linux @ 3286:7c80f584c3a9
posix_fadvise64() had been implemented in Linux 2.5.60
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 03 Nov 2009 16:29:47 +0000 |
parents | 9ecfcc5c5fb2 |
children | 4068898a6a7c |
line wrap: on
line diff
--- a/auto/os/linux Tue Nov 03 16:28:21 2009 +0000 +++ b/auto/os/linux Tue Nov 03 16:29:47 2009 +0000 @@ -35,6 +35,12 @@ 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"