aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_errno.h
diff options
context:
space:
mode:
authorAndrey Belov <defan@nginx.com>2012-02-13 16:13:21 +0000
committerAndrey Belov <defan@nginx.com>2012-02-13 16:13:21 +0000
commit71205c3fbc530ec810e18b0cfb6f8db5bb8d1cd1 (patch)
tree6a6c614abe64bd017a0ab803960a5b660806dc4a /src/os/unix/ngx_errno.h
parent9f38b20db50a22b434d35c9bf3c5b08d5ddfbd8b (diff)
downloadnginx-71205c3fbc530ec810e18b0cfb6f8db5bb8d1cd1.tar.gz
nginx-71205c3fbc530ec810e18b0cfb6f8db5bb8d1cd1.zip
Added openat()/fstatat().
Diffstat (limited to 'src/os/unix/ngx_errno.h')
-rw-r--r--src/os/unix/ngx_errno.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h
index 092d05a0b..78af40bfe 100644
--- a/src/os/unix/ngx_errno.h
+++ b/src/os/unix/ngx_errno.h
@@ -48,6 +48,11 @@ typedef int ngx_err_t;
#define NGX_EILSEQ EILSEQ
#define NGX_ENOMOREFILES 0
+#if (NGX_HAVE_OPENAT)
+#define NGX_EMLINK EMLINK
+#define NGX_ELOOP ELOOP
+#endif
+
#if (__hpux__)
#define NGX_EAGAIN EWOULDBLOCK
#else