aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_files.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-01-18 20:37:19 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-01-18 20:37:19 +0000
commita3eef70783164098f2720826e33b69ba8a6ccc7d (patch)
treee5b4826fa58c5105ef45e364ccc3966983b19c16 /src/os/win32/ngx_files.h
parent4a27d0f3f81db83940f7ff8fca3425767b1786ac (diff)
downloadnginx-a3eef70783164098f2720826e33b69ba8a6ccc7d.tar.gz
nginx-a3eef70783164098f2720826e33b69ba8a6ccc7d.zip
NGX_FILE_WRONLY
Diffstat (limited to 'src/os/win32/ngx_files.h')
-rw-r--r--src/os/win32/ngx_files.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/win32/ngx_files.h b/src/os/win32/ngx_files.h
index 7db5c8100..f5a97f8b4 100644
--- 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