Mercurial > hg > nginx-quic
changeset 1054:836fe133b6d5
NGX_FILE_WRONLY
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 18 Jan 2007 20:37:19 +0000 |
parents | b9fa23cda4cc |
children | 0f692964f1b3 |
files | src/os/unix/ngx_files.h src/os/win32/ngx_files.h |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os/unix/ngx_files.h +++ b/src/os/unix/ngx_files.h @@ -22,6 +22,7 @@ #define ngx_open_file_n "open()" #define NGX_FILE_RDONLY O_RDONLY +#define NGX_FILE_WRONLY O_WRONLY #define NGX_FILE_RDWR O_RDWR #define NGX_FILE_CREATE_OR_OPEN O_CREAT #define NGX_FILE_OPEN 0
--- a/src/os/win32/ngx_files.h +++ b/src/os/win32/ngx_files.h @@ -38,6 +38,7 @@ #define ngx_open_file_n "CreateFile()" #define NGX_FILE_RDONLY GENERIC_READ +#define NGX_FILE_WRONLY GENERIC_WRITE #define NGX_FILE_RDWR GENERIC_READ|GENERIC_WRITE #define NGX_FILE_CREATE_OR_OPEN OPEN_ALWAYS #define NGX_FILE_OPEN OPEN_EXISTING