diff options
Diffstat (limited to 'src/os/win32')
-rw-r--r-- | src/os/win32/ngx_errno.h | 1 | ||||
-rw-r--r-- | src/os/win32/ngx_process.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/os/win32/ngx_errno.h b/src/os/win32/ngx_errno.h index 371b7299e..46f4382c4 100644 --- a/src/os/win32/ngx_errno.h +++ b/src/os/win32/ngx_errno.h @@ -35,6 +35,7 @@ typedef DWORD ngx_err_t; #define NGX_ENOTCONN WSAENOTCONN #define NGX_ETIMEDOUT WSAETIMEDOUT #define NGX_ECONNREFUSED WSAECONNREFUSED +#define NGX_ENAMETOOLONG ERROR_BAD_PATHNAME #define NGX_EHOSTUNREACH WSAEHOSTUNREACH #define NGX_ENOMOREFILES ERROR_NO_MORE_FILES diff --git a/src/os/win32/ngx_process.h b/src/os/win32/ngx_process.h index a282d17ad..bd282b217 100644 --- a/src/os/win32/ngx_process.h +++ b/src/os/win32/ngx_process.h @@ -8,7 +8,9 @@ #define _NGX_PROCESS_H_INCLUDED_ -typedef DWORD ngx_pid_t; +typedef DWORD ngx_pid_t; +#define NGX_INVALID_PID 0 + #define ngx_getpid GetCurrentProcessId #define ngx_log_pid ngx_pid |