mirror of
https://github.com/nginx/nginx.git
synced 2026-09-01 02:58:40 +00:00
FreeBSD 10-current has recently gotten POSIX_FADV_* macros.
A fix for the broken build applied. Patch from Igor Sysoev.
This commit is contained in:
parent
e0c1a63028
commit
f61b7b3a83
1 changed files with 1 additions and 1 deletions
|
|
@ -464,7 +464,7 @@ ngx_unlock_fd(ngx_fd_t fd)
|
|||
}
|
||||
|
||||
|
||||
#if (NGX_HAVE_POSIX_FADVISE)
|
||||
#if (NGX_HAVE_POSIX_FADVISE) && !(NGX_HAVE_F_READAHEAD)
|
||||
|
||||
ngx_int_t
|
||||
ngx_read_ahead(ngx_fd_t fd, size_t n)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue