comparison src/os/unix/ngx_freebsd_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
58 58
59 59
60 #include <ngx_auto_config.h> 60 #include <ngx_auto_config.h>
61 61
62 62
63 #ifndef HAVE_SELECT
64 #define HAVE_SELECT 1
65 #endif
66
67
68 #ifndef HAVE_POLL
69 #define HAVE_POLL 1
70 #endif
71 #if (HAVE_POLL) 63 #if (HAVE_POLL)
72 #include <poll.h> 64 #include <poll.h>
73 #endif 65 #endif
74 66
75 /* FreeBSD aio supported via kqueue */
76
77 #if (__FreeBSD__ == 4 && __FreeBSD_version >= 430000) \
78 || __FreeBSD_version >= 500014
79
80 #ifndef HAVE_AIO
81 #define HAVE_AIO 1
82 #endif
83
84 #endif
85 67
86 #if (HAVE_AIO) 68 #if (HAVE_AIO)
87 #include <aio.h> 69 #include <aio.h>
88 #endif 70 #endif
89 71
90 72
91 #if defined SO_ACCEPTFILTER && !defined HAVE_DEFERRED_ACCEPT 73 #if (HAVE_KQUEUE)
92 #define HAVE_DEFERRED_ACCEPT 1 74 #include <sys/event.h>
93 #endif 75 #endif
94 76
95 77
96 #if (HAVE_KQUEUE) 78 #if defined SO_ACCEPTFILTER && !defined HAVE_DEFERRED_ACCEPT
97 #include <sys/event.h> 79 #define HAVE_DEFERRED_ACCEPT 1
98 #endif 80 #endif
99 81
100 82
101 #if (__FreeBSD_version < 430000 || __FreeBSD_version < 500012) 83 #if (__FreeBSD_version < 430000 || __FreeBSD_version < 500012)
102 84