mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
fix building by bcc broken in r2130
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user