1 /*	$NetBSD: event-config.h,v 1.1.1.1 2013/04/11 16:43:34 christos Exp $	*/
2 /* event2/event-config.h
3  *
4  * This file was generated by autoconf when libevent was built, and post-
5  * processed by Libevent so that its macros would have a uniform prefix.
6  *
7  * DO NOT EDIT THIS FILE.
8  *
9  * Do not rely on macros in this file existing in later versions.
10  */
11 #ifndef _EVENT_CONFIG_H_
12 #define _EVENT_CONFIG_H_
13 /* config.h.  Generated by configure.  */
14 /* config.h.in.  Generated from configure.in by autoheader.  */
15 
16 /* Define if libevent should not allow replacing the mm functions */
17 /* #undef _EVENT_DISABLE_MM_REPLACEMENT */
18 
19 /* Define if libevent should not be compiled with thread support */
20 /* #undef _EVENT_DISABLE_THREAD_SUPPORT */
21 
22 /* Define if clock_gettime is available in libc */
23 /* #undef _EVENT_DNS_USE_CPU_CLOCK_FOR_ID */
24 
25 /* Define is no secure id variant is available */
26 /* #define _EVENT_DNS_USE_GETTIMEOFDAY_FOR_ID 1 */
27 #define _EVENT_DNS_USE_FTIME_FOR_ID 1
28 
29 /* Define to 1 if you have the <arpa/inet.h> header file. */
30 /* #undef _EVENT_HAVE_ARPA_INET_H */
31 
32 /* Define to 1 if you have the `clock_gettime' function. */
33 /* #undef _EVENT_HAVE_CLOCK_GETTIME */
34 
35 /* Define if /dev/poll is available */
36 /* #undef _EVENT_HAVE_DEVPOLL */
37 
38 /* Define to 1 if you have the <dlfcn.h> header file. */
39 /* #undef _EVENT_HAVE_DLFCN_H */
40 
41 /* Define if your system supports the epoll system calls */
42 /* #undef _EVENT_HAVE_EPOLL */
43 
44 /* Define to 1 if you have the `epoll_ctl' function. */
45 /* #undef _EVENT_HAVE_EPOLL_CTL */
46 
47 /* Define to 1 if you have the `eventfd' function. */
48 /* #undef _EVENT_HAVE_EVENTFD */
49 
50 /* Define if your system supports event ports */
51 /* #undef _EVENT_HAVE_EVENT_PORTS */
52 
53 /* Define to 1 if you have the `fcntl' function. */
54 /* #undef _EVENT_HAVE_FCNTL */
55 
56 /* Define to 1 if you have the <fcntl.h> header file. */
57 #define _EVENT_HAVE_FCNTL_H 1
58 
59 /* Define to 1 if you have the `getaddrinfo' function. */
60 #define _EVENT_HAVE_GETADDRINFO 1
61 
62 /* Define to 1 if you have the `getnameinfo' function. */
63 #define _EVENT_HAVE_GETNAMEINFO 1
64 
65 /* Define to 1 if you have the `getprotobynumber' function. */
66 #define _EVENT_HAVE_GETPROTOBYNUMBER 1
67 
68 /* Define to 1 if you have the `getservbyname' function. */
69 #define _EVENT_HAVE_GETSERVBYNAME 1
70 
71 /* Define to 1 if you have the `gettimeofday' function. */
72 /* #define _EVENT_HAVE_GETTIMEOFDAY 1 */
73 
74 /* Define to 1 if you have the `inet_aton' function. */
75 /* #undef _EVENT_HAVE_INET_ATON */
76 
77 /* Define to 1 if you have the `inet_ntop' function. */
78 /* #undef _EVENT_HAVE_INET_NTOP */
79 
80 /* Define to 1 if you have the `inet_pton' function. */
81 /* #undef _EVENT_HAVE_INET_PTON */
82 
83 /* Define to 1 if you have the <inttypes.h> header file. */
84 /* #define _EVENT_HAVE_INTTYPES_H 1 */
85 
86 /* Define to 1 if you have the `kqueue' function. */
87 /* #undef _EVENT_HAVE_KQUEUE */
88 
89 /* Define if the system has zlib */
90 /* #undef _EVENT_HAVE_LIBZ */
91 
92 /* Define to 1 if you have the <memory.h> header file. */
93 #define _EVENT_HAVE_MEMORY_H 1
94 
95 /* Define to 1 if you have the `mmap' function. */
96 /* #undef _EVENT_HAVE_MMAP */
97 
98 /* Define to 1 if you have the <netinet/in6.h> header file. */
99 /* #undef _EVENT_HAVE_NETINET_IN6_H */
100 
101 /* Define to 1 if you have the <netinet/in.h> header file. */
102 /* #undef _EVENT_HAVE_NETINET_IN_H */
103 
104 /* Define to 1 if you have the `pipe' function. */
105 /* #undef _EVENT_HAVE_PIPE */
106 
107 /* Define to 1 if you have the `poll' function. */
108 /* #undef _EVENT_HAVE_POLL */
109 
110 /* Define to 1 if you have the <poll.h> header file. */
111 /* #undef _EVENT_HAVE_POLL_H */
112 
113 /* Define to 1 if you have the `port_create' function. */
114 /* #undef _EVENT_HAVE_PORT_CREATE */
115 
116 /* Define to 1 if you have the <port.h> header file. */
117 /* #undef _EVENT_HAVE_PORT_H */
118 
119 /* Define if you have POSIX threads libraries and header files. */
120 /* #undef _EVENT_HAVE_PTHREAD */
121 
122 /* Define if we have pthreads on this system */
123 /* #undef _EVENT_HAVE_PTHREADS */
124 
125 /* Define to 1 if the system has the type `sa_family_t'. */
126 /* #undef _EVENT_HAVE_SA_FAMILY_T */
127 
128 /* Define to 1 if you have the `select' function. */
129 /* #undef _EVENT_HAVE_SELECT */
130 
131 /* Define to 1 if you have the `sendfile' function. */
132 /* #undef _EVENT_HAVE_SENDFILE */
133 
134 /* Define if F_SETFD is defined in <fcntl.h> */
135 /* #undef _EVENT_HAVE_SETFD */
136 
137 /* Define to 1 if you have the `sigaction' function. */
138 /* #undef _EVENT_HAVE_SIGACTION */
139 
140 /* Define to 1 if you have the `signal' function. */
141 #define _EVENT_HAVE_SIGNAL 1
142 
143 /* Define to 1 if you have the `splice' function. */
144 /* #undef _EVENT_HAVE_SPLICE */
145 
146 /* Define to 1 if you have the <stdarg.h> header file. */
147 #define _EVENT_HAVE_STDARG_H 1
148 
149 /* Define to 1 if you have the <stddef.h> header file. */
150 #define _EVENT_HAVE_STDDEF_H 1
151 
152 /* Define to 1 if you have the <stdint.h> header file. */
153 /* #define _EVENT_HAVE_STDINT_H 1 */
154 
155 /* Define to 1 if you have the <stdlib.h> header file. */
156 #define _EVENT_HAVE_STDLIB_H 1
157 
158 /* Define to 1 if you have the <strings.h> header file. */
159 #define _EVENT_HAVE_STRINGS_H 1
160 
161 /* Define to 1 if you have the <string.h> header file. */
162 #define _EVENT_HAVE_STRING_H 1
163 
164 /* Define to 1 if you have the `strlcpy' function. */
165 /* #undef _EVENT_HAVE_STRLCPY */
166 
167 /* Define to 1 if you have the `strsep' function. */
168 /* #undef _EVENT_HAVE_STRSEP */
169 
170 /* Define to 1 if you have the `strtok_r' function. */
171 /* #undef _EVENT_HAVE_STRTOK_R */
172 
173 /* Define to 1 if you have the `strtoll' function. */
174 /* #define _EVENT_HAVE_STRTOLL 1 */
175 
176 #define _EVENT_HAVE_STRUCT_ADDRINFO 1
177 
178 /* Define to 1 if the system has the type `struct in6_addr'. */
179 #define _EVENT_HAVE_STRUCT_IN6_ADDR 1
180 
181 /* Define to 1 if `s6_addr16' is member of `struct in6_addr'. */
182 #define _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR16 1
183 
184 /* Define to 1 if `s6_addr32' is member of `struct in6_addr'. */
185 #define _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR32 1
186 
187 /* Define to 1 if the system has the type `struct sockaddr_in6'. */
188 #define _EVENT_HAVE_STRUCT_SOCKADDR_IN6 1
189 
190 /* Define to 1 if `sin6_len' is member of `struct sockaddr_in6'. */
191 /* #undef _EVENT_HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN */
192 
193 /* Define to 1 if `sin_len' is member of `struct sockaddr_in'. */
194 /* #undef _EVENT_HAVE_STRUCT_SOCKADDR_IN_SIN_LEN */
195 
196 /* Define to 1 if the system has the type `struct sockaddr_storage'. */
197 #define _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE 1
198 
199 /* Define to 1 if you have the <sys/devpoll.h> header file. */
200 /* #undef _EVENT_HAVE_SYS_DEVPOLL_H */
201 
202 /* Define to 1 if you have the <sys/epoll.h> header file. */
203 /* #undef _EVENT_HAVE_SYS_EPOLL_H */
204 
205 /* Define to 1 if you have the <sys/eventfd.h> header file. */
206 /* #undef _EVENT_HAVE_SYS_EVENTFD_H */
207 
208 /* Define to 1 if you have the <sys/event.h> header file. */
209 /* #undef _EVENT_HAVE_SYS_EVENT_H */
210 
211 /* Define to 1 if you have the <sys/ioctl.h> header file. */
212 /* #undef _EVENT_HAVE_SYS_IOCTL_H */
213 
214 /* Define to 1 if you have the <sys/mman.h> header file. */
215 /* #undef _EVENT_HAVE_SYS_MMAN_H */
216 
217 /* Define to 1 if you have the <sys/param.h> header file. */
218 /* #define _EVENT_HAVE_SYS_PARAM_H 1 */
219 
220 /* Define to 1 if you have the <sys/queue.h> header file. */
221 /* #undef _EVENT_HAVE_SYS_QUEUE_H */
222 
223 /* Define to 1 if you have the <sys/select.h> header file. */
224 /* #undef _EVENT_HAVE_SYS_SELECT_H */
225 
226 /* Define to 1 if you have the <sys/sendfile.h> header file. */
227 /* #undef _EVENT_HAVE_SYS_SENDFILE_H */
228 
229 /* Define to 1 if you have the <sys/socket.h> header file. */
230 /* #undef _EVENT_HAVE_SYS_SOCKET_H */
231 
232 /* Define to 1 if you have the <sys/stat.h> header file. */
233 #define _EVENT_HAVE_SYS_STAT_H 1
234 
235 /* Define to 1 if you have the <sys/time.h> header file. */
236 /* #define _EVENT_HAVE_SYS_TIME_H 1 */
237 
238 /* Define to 1 if you have the <sys/types.h> header file. */
239 #define _EVENT_HAVE_SYS_TYPES_H 1
240 
241 /* Define to 1 if you have the <sys/uio.h> header file. */
242 /* #undef _EVENT_HAVE_SYS_UIO_H */
243 
244 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
245 /* #undef _EVENT_HAVE_TAILQFOREACH */
246 
247 /* Define if timeradd is defined in <sys/time.h> */
248 /* #undef _EVENT_HAVE_TIMERADD */
249 
250 /* Define if timerclear is defined in <sys/time.h> */
251 #define _EVENT_HAVE_TIMERCLEAR 1
252 
253 /* Define if timercmp is defined in <sys/time.h> */
254 #define _EVENT_HAVE_TIMERCMP 1
255 
256 /* Define if timerisset is defined in <sys/time.h> */
257 #define _EVENT_HAVE_TIMERISSET 1
258 
259 /* Define to 1 if the system has the type `uint16_t'. */
260 /* #define _EVENT_HAVE_UINT16_T 1 */
261 
262 /* Define to 1 if the system has the type `uint32_t'. */
263 /* #define _EVENT_HAVE_UINT32_T 1 */
264 
265 /* Define to 1 if the system has the type `uint64_t'. */
266 /* #define _EVENT_HAVE_UINT64_T 1 */
267 
268 /* Define to 1 if the system has the type `uint8_t'. */
269 /* #define _EVENT_HAVE_UINT8_T 1 */
270 
271 /* Define to 1 if you have the <unistd.h> header file. */
272 /* #define _EVENT_HAVE_UNISTD_H 1 */
273 
274 /* Define to 1 if you have the `vasprintf' function. */
275 /* #undef _EVENT_HAVE_VASPRINTF */
276 
277 /* Define if kqueue works correctly with pipes */
278 /* #undef _EVENT_HAVE_WORKING_KQUEUE */
279 
280 /* Numeric representation of the version */
281 #define _EVENT_NUMERIC_VERSION 0x02001500
282 
283 /* Name of package */
284 #define _EVENT_PACKAGE "libevent"
285 
286 /* Define to the address where bug reports for this package should be sent. */
287 #define _EVENT_PACKAGE_BUGREPORT ""
288 
289 /* Define to the full name of this package. */
290 #define _EVENT_PACKAGE_NAME ""
291 
292 /* Define to the full name and version of this package. */
293 #define _EVENT_PACKAGE_STRING ""
294 
295 /* Define to the one symbol short name of this package. */
296 #define _EVENT_PACKAGE_TARNAME ""
297 
298 /* Define to the version of this package. */
299 #define _EVENT_PACKAGE_VERSION ""
300 
301 /* Define to necessary symbol if this constant uses a non-standard name on
302    your system. */
303 /* #undef _EVENT_PTHREAD_CREATE_JOINABLE */
304 
305 /* The size of a `int', as computed by sizeof. */
306 #define _EVENT_SIZEOF_INT 4
307 
308 /* The size of a `long', as computed by sizeof. */
309 #define _EVENT_SIZEOF_LONG 4
310 
311 /* The size of a `long long', as computed by sizeof. */
312 #define _EVENT_SIZEOF_LONG_LONG 8
313 
314 /* The size of a `short', as computed by sizeof. */
315 #define _EVENT_SIZEOF_SHORT 2
316 
317 /* The size of `size_t', as computed by sizeof. */
318 #ifdef _WIN64
319 #define _EVENT_SIZEOF_SIZE_T 8
320 #else
321 #define _EVENT_SIZEOF_SIZE_T 4
322 #endif
323 
324 /* The size of `void *', as computed by sizeof. */
325 #ifdef _WIN64
326 #define _EVENT_SIZEOF_VOID_P 8
327 #else
328 #define _EVENT_SIZEOF_VOID_P 4
329 #endif
330 
331 /* Define to 1 if you have the ANSI C header files. */
332 #define _EVENT_STDC_HEADERS 1
333 
334 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
335 #define _EVENT_TIME_WITH_SYS_TIME 1
336 
337 /* Version number of package */
338 #define _EVENT_VERSION "2.0.21-stable"
339 
340 /* Define to appropriate substitue if compiler doesnt have __func__ */
341 #define _EVENT___func__ __FUNCTION__
342 
343 /* Define to empty if `const' does not conform to ANSI C. */
344 /* #undef _EVENT_const */
345 
346 /* Define to `__inline__' or `__inline' if that's what the C compiler
347    calls it, or to nothing if 'inline' is not supported under any name.  */
348 #ifndef _EVENT___cplusplus
349 #define _EVENT_inline __inline
350 #endif
351 
352 /* Define to `int' if <sys/types.h> does not define. */
353 /* #undef _EVENT_pid_t */
354 
355 /* Define to `unsigned' if <sys/types.h> does not define. */
356 /* #undef _EVENT_size_t */
357 
358 /* Define to unsigned int if you dont have it */
359 #define _EVENT_socklen_t unsigned int
360 
361 /* Define to `int' if <sys/types.h> does not define. */
362 #define _EVENT_ssize_t SSIZE_T
363 
364 #endif
365