Mercurial > hg > nginx-vendor-0-8
diff src/os/unix/ngx_posix_config.h @ 16:74b1868dd3cd NGINX_0_1_8
nginx 0.1.8
*) Bugfix: in the ngx_http_autoindex_module if the long file names were
in the listing.
*) Feature: the "^~" modifier in the location directive.
*) Feature: the proxy_max_temp_file_size directive.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Sat, 20 Nov 2004 00:00:00 +0300 |
parents | 4b2dafa26fe2 |
children | 6f8b0dc0f8dd |
line wrap: on
line diff
--- a/src/os/unix/ngx_posix_config.h +++ b/src/os/unix/ngx_posix_config.h @@ -14,6 +14,11 @@ #endif +#if 0 +#define _REENTRANT +#endif + + #include <sys/types.h> #include <sys/time.h> #if (NGX_HAVE_UNISTD_H) @@ -65,14 +70,6 @@ #include <ngx_auto_config.h> -#ifndef HAVE_SELECT -#define HAVE_SELECT 1 -#endif - - -#ifndef HAVE_POLL -#define HAVE_POLL 1 -#endif #if (HAVE_POLL) #include <poll.h> #endif @@ -104,7 +101,11 @@ #endif +#if (NGX_HAVE_SETPROCTITLE) +#define ngx_setproctitle setproctitle +#else #define ngx_setproctitle(title) +#endif #define NGX_POSIX_IO 1