aboutsummaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-08-11 14:25:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-08-11 14:25:04 +0000
commitc9538c069f95043d9a922a7ca3d311f7e2b7fde7 (patch)
tree35e5a2f9791a56c6d551b8aeed460f3526f82383 /src/os
parent98ab9ce9883bd0c3985eaf248021b7a833db3d24 (diff)
downloadnginx-c9538c069f95043d9a922a7ca3d311f7e2b7fde7.tar.gz
nginx-c9538c069f95043d9a922a7ca3d311f7e2b7fde7.zip
NGX_ENOPATH
Diffstat (limited to 'src/os')
-rw-r--r--src/os/unix/ngx_errno.h1
-rw-r--r--src/os/win32/ngx_errno.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h
index 3dbfa227e..379f36777 100644
--- a/src/os/unix/ngx_errno.h
+++ b/src/os/unix/ngx_errno.h
@@ -16,6 +16,7 @@ typedef int ngx_err_t;
#define NGX_EPERM EPERM
#define NGX_ENOENT ENOENT
+#define NGX_ENOPATH ENOENT
#define NGX_ESRCH ESRCH
#define NGX_EINTR EINTR
#define NGX_ECHILD ECHILD
diff --git a/src/os/win32/ngx_errno.h b/src/os/win32/ngx_errno.h
index 75ae73f5d..e5e1a3744 100644
--- a/src/os/win32/ngx_errno.h
+++ b/src/os/win32/ngx_errno.h
@@ -21,6 +21,7 @@ typedef DWORD ngx_err_t;
#define NGX_EPERM ERROR_ACCESS_DENIED
#define NGX_ENOENT ERROR_FILE_NOT_FOUND
+#define NGX_ENOPATH ERROR_PATH_NOT_FOUND
#define NGX_ENOMEM ERROR_NOT_ENOUGH_MEMORY
#define NGX_EACCES ERROR_ACCESS_DENIED
/* it's seems that ERROR_FILE_EXISTS is not appropriate error code */