comparison src/os/unix/ngx_posix_config.h @ 467:bbd6b0b4a2b1 release-0.1.8

nginx-0.1.8-RELEASE import *) 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 <igor@sysoev.ru>
date Sat, 20 Nov 2004 19:52:20 +0000
parents 295d97d70c69
children 2ff194b74f1e
comparison
equal deleted inserted replaced
466:ee6d66462bff 467:bbd6b0b4a2b1
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