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
87648fe191
commit
e410e4693d
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…
Reference in a new issue