diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-12-15 16:57:13 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-12-15 16:57:13 +0300 |
commit | e3466a4058ec3a6c7915f5239fac9f6bfbb6a29d (patch) | |
tree | ccdc53e91c406a40a83657886407de9bda1f6531 /src/os/unix/ngx_errno.c | |
parent | dc867cd0fed793f86ce2b460f8c2ad069ddec1b5 (diff) |
nginx-0.0.1-2003-12-15-16:57:13 import
Diffstat (limited to 'src/os/unix/ngx_errno.c')
-rw-r--r-- | src/os/unix/ngx_errno.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/unix/ngx_errno.c b/src/os/unix/ngx_errno.c index e94f2c9b0..c50da8251 100644 --- a/src/os/unix/ngx_errno.c +++ b/src/os/unix/ngx_errno.c @@ -2,6 +2,8 @@ #include <ngx_core.h> +#if (HAVE_STRERROR_R) + ngx_int_t ngx_strerror_r(int err, char *errstr, size_t size) { size_t len; @@ -22,3 +24,5 @@ ngx_int_t ngx_strerror_r(int err, char *errstr, size_t size) return len; } + +#endif |