From 7bdb720d6a7b75021ca7cea17d6f3199b5acf4ca Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 19 Apr 2006 15:30:56 +0000 Subject: nginx-0.3.40-RELEASE import *) Feature: the ngx_http_dav_module supports the MKCOL method. *) Feature: the "create_full_put_path" directive. *) Feature: the "$limit_rate" variable. --- src/os/unix/ngx_errno.h | 1 + src/os/win32/ngx_errno.h | 1 + 2 files changed, 2 insertions(+) (limited to 'src/os') diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h index dae9571e2..e0c4a19a1 100644 --- a/src/os/unix/ngx_errno.h +++ b/src/os/unix/ngx_errno.h @@ -14,6 +14,7 @@ typedef int ngx_err_t; +#define NGX_EPERM EPERM #define NGX_ENOENT ENOENT #define NGX_ESRCH ESRCH #define NGX_EINTR EINTR diff --git a/src/os/win32/ngx_errno.h b/src/os/win32/ngx_errno.h index 97565760b..9b6c7b51a 100644 --- a/src/os/win32/ngx_errno.h +++ b/src/os/win32/ngx_errno.h @@ -19,6 +19,7 @@ typedef DWORD ngx_err_t; #define ngx_socket_errno WSAGetLastError() #define ngx_set_socket_errno(err) WSASetLastError(err) +#define NGX_EPERM ERROR_ACCESS_DENIED #define NGX_ENOENT ERROR_FILE_NOT_FOUND #define NGX_EACCES ERROR_ACCESS_DENIED #if 0 -- cgit