fix building by bcc broken in r2130

This commit is contained in:
Igor Sysoev 2008-08-04 09:14:30 +00:00
parent e857ecd7df
commit 9c32f5b9c3
2 changed files with 8 additions and 1 deletions

View File

@ -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;
}

View File

@ -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"