diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-08-04 13:14:30 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-08-04 13:14:30 +0400 |
commit | eb3e4c8be00d6353b5e545a75f9abda0b154585c (patch) | |
tree | 400bdad45ab2987e3754f2e63520c8c648be4f7b | |
parent | a3e9f7d306a14bed4dd0f6717b46d8b0e3a0d646 (diff) |
fix building by bcc broken in r2130
-rw-r--r-- | src/os/win32/ngx_files.c | 7 | ||||
-rw-r--r-- | src/os/win32/ngx_files.h | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/os/win32/ngx_files.c b/src/os/win32/ngx_files.c index 769519856..2d8989060 100644 --- a/src/os/win32/ngx_files.c +++ b/src/os/win32/ngx_files.c @@ -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; +} diff --git a/src/os/win32/ngx_files.h b/src/os/win32/ngx_files.h index 5973e95b3..294709f4b 100644 --- a/src/os/win32/ngx_files.h +++ b/src/os/win32/ngx_files.h @@ -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" |