aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_errno.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_errno.c')
-rw-r--r--src/os/unix/ngx_errno.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_errno.c b/src/os/unix/ngx_errno.c
index 2faf63a00..0c93d23a1 100644
--- a/src/os/unix/ngx_errno.c
+++ b/src/os/unix/ngx_errno.c
@@ -8,7 +8,7 @@
#include <ngx_core.h>
-#if (HAVE_STRERROR_R)
+#if (NGX_STRERROR_R)
ngx_int_t ngx_strerror_r(int err, char *errstr, size_t size)
{
@@ -31,7 +31,7 @@ ngx_int_t ngx_strerror_r(int err, char *errstr, size_t size)
return len;
}
-#elif (HAVE_GNU_STRERROR_R)
+#elif (NGX_GNU_STRERROR_R)
/* Linux strerror_r() */