Mercurial > hg > nginx-vendor-0-8
diff src/os/unix/ngx_errno.c @ 6:80ba094c6b3e NGINX_0_1_3
nginx 0.1.3
*) Feature: the ngx_http_autoindex_module and the autoindex directive.
*) Feature: the proxy_set_x_url directive.
*) Bugfix: proxy module may get caught in an endless loop when sendfile
is not used.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 25 Oct 2004 00:00:00 +0400 |
parents | cc9f381affaa |
children | 46833bd150cb |
line wrap: on
line diff
--- 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 * return len; } -#elif (HAVE_GNU_STRERROR_R) +#elif (NGX_GNU_STRERROR_R) /* Linux strerror_r() */