mirror of
https://github.com/nginx/nginx.git
synced 2026-06-24 19:06:48 +00:00
fix building by bcc broken in r2130
This commit is contained in:
parent
a3e9f7d306
commit
eb3e4c8be0
2 changed files with 8 additions and 1 deletions
|
|
@ -501,3 +501,10 @@ ngx_file_append_mode(ngx_fd_t fd)
|
|||
|
||||
return NGX_OK;
|
||||
}
|
||||
|
||||
|
||||
ngx_int_t
|
||||
ngx_directio(ngx_fd_t fd)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@ ssize_t ngx_write_chain_to_file(ngx_file_t *file, ngx_chain_t *ce,
|
|||
off_t offset, ngx_pool_t *pool);
|
||||
|
||||
|
||||
#define ngx_directio(fd) 0
|
||||
ngx_int_t ngx_directio(ngx_fd_t fd);
|
||||
#define ngx_directio_n "ngx_directio_n"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue