diff options
Diffstat (limited to 'src/os')
| -rw-r--r-- | src/os/unix/ngx_errno.h | 2 | ||||
| -rw-r--r-- | src/os/win32/ngx_errno.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h index 125087e78..1497c5f2f 100644 --- a/src/os/unix/ngx_errno.h +++ b/src/os/unix/ngx_errno.h @@ -49,10 +49,10 @@ typedef int ngx_err_t; #define NGX_ECANCELED ECANCELED #define NGX_EILSEQ EILSEQ #define NGX_ENOMOREFILES 0 +#define NGX_ELOOP ELOOP #if (NGX_HAVE_OPENAT) #define NGX_EMLINK EMLINK -#define NGX_ELOOP ELOOP #endif #if (__hpux__) diff --git a/src/os/win32/ngx_errno.h b/src/os/win32/ngx_errno.h index 090ba1b53..decb6fef0 100644 --- a/src/os/win32/ngx_errno.h +++ b/src/os/win32/ngx_errno.h @@ -51,6 +51,7 @@ typedef DWORD ngx_err_t; #define NGX_EHOSTUNREACH WSAEHOSTUNREACH #define NGX_ENOMOREFILES ERROR_NO_MORE_FILES #define NGX_EILSEQ ERROR_NO_UNICODE_TRANSLATION +#define NGX_ELOOP 0 #define NGX_EALREADY WSAEALREADY #define NGX_EINVAL WSAEINVAL |
