comparison 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
comparison
equal deleted inserted replaced
15:0503cb60c4e4 16:74b1868dd3cd
9 9
10 10
11 #if 0 11 #if 0
12 #define _XOPEN_SOURCE 12 #define _XOPEN_SOURCE
13 #define _XOPEN_SOURCE_EXTENDED 1 13 #define _XOPEN_SOURCE_EXTENDED 1
14 #endif
15
16
17 #if 0
18 #define _REENTRANT
14 #endif 19 #endif
15 20
16 21
17 #include <sys/types.h> 22 #include <sys/types.h>
18 #include <sys/time.h> 23 #include <sys/time.h>
63 68
64 69
65 #include <ngx_auto_config.h> 70 #include <ngx_auto_config.h>
66 71
67 72
68 #ifndef HAVE_SELECT
69 #define HAVE_SELECT 1
70 #endif
71
72
73 #ifndef HAVE_POLL
74 #define HAVE_POLL 1
75 #endif
76 #if (HAVE_POLL) 73 #if (HAVE_POLL)
77 #include <poll.h> 74 #include <poll.h>
78 #endif 75 #endif
79 76
80 77
102 #define CMSG_DATA(cmsg) ((u_char *)(cmsg) + ALIGN(sizeof(struct cmsghdr))) 99 #define CMSG_DATA(cmsg) ((u_char *)(cmsg) + ALIGN(sizeof(struct cmsghdr)))
103 100
104 #endif 101 #endif
105 102
106 103
104 #if (NGX_HAVE_SETPROCTITLE)
105 #define ngx_setproctitle setproctitle
106 #else
107 #define ngx_setproctitle(title) 107 #define ngx_setproctitle(title)
108 #endif
108 109
109 110
110 #define NGX_POSIX_IO 1 111 #define NGX_POSIX_IO 1
111 112
112 113