mirror of
https://github.com/nginx/nginx.git
synced 2025-01-05 21:53:01 -06: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
@ -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 New Issue
Block a user