aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_posix_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-11-20 19:52:20 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-11-20 19:52:20 +0000
commitd43bee8ee939992404d59ae0fec248ce46abecb0 (patch)
tree6eb79a6902f147bedb8c85350cbdc68543115907 /src/os/unix/ngx_posix_config.h
parent13376e1538e2b29e436805c626f6837b34a482c5 (diff)
downloadnginx-d43bee8ee939992404d59ae0fec248ce46abecb0.tar.gz
nginx-d43bee8ee939992404d59ae0fec248ce46abecb0.zip
nginx-0.1.8-RELEASE importrelease-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.
Diffstat (limited to 'src/os/unix/ngx_posix_config.h')
-rw-r--r--src/os/unix/ngx_posix_config.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h
index bac02f7dd..b187236e9 100644
--- 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