summaryrefslogtreecommitdiffhomepage
path: root/src/os/win32/ngx_errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/win32/ngx_errno.h')
-rw-r--r--src/os/win32/ngx_errno.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/win32/ngx_errno.h b/src/os/win32/ngx_errno.h
index 82a910197..52ab29e97 100644
--- a/src/os/win32/ngx_errno.h
+++ b/src/os/win32/ngx_errno.h
@@ -11,6 +11,7 @@ typedef DWORD ngx_err_t;
#define ngx_set_socket_errno(err) WSASetLastError(err)
#define NGX_ENOENT ERROR_FILE_NOT_FOUND
+#define NGX_EACCESS ERROR_ACCESS_DENIED
#define NGX_EAGAIN WSAEWOULDBLOCK
#define NGX_EINPROGRESS WSAEINPROGRESS
#define NGX_EADDRINUSE WSAEADDRINUSE