mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 01:42:58 +08:00
fix building by bcc broken in r2130
This commit is contained in:
parent
a3e9f7d306
commit
eb3e4c8be0
@ -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…
Reference in New Issue
Block a user