• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* event2/event-config.h
2  *
3  * This file was generated by autoconf when libevent was built, and post-
4  * processed by Libevent so that its macros would have a uniform prefix.
5  *
6  * Then we post processed it some more to remove harded assumptions about
7  * the size of integers on the particular system in which we ./configure'd for.
8  *
9  * Do not rely on macros in this file existing in later versions.
10  */
11 
12 #ifndef _EVENT2_EVENT_CONFIG_H_
13 #define _EVENT2_EVENT_CONFIG_H_
14 
15 #include <stdint.h>
16 /* The size of `size_t', as computed by sizeof. */
17 #if SIZE_MAX == UINT64_MAX
18 #  define _EVENT_SIZEOF_SIZE_T 8
19 #elif SIZE_MAX == UINT32_MAX
20 #  define _EVENT_SIZEOF_SIZE_T 4
21 #else
22 #  error "No way to infer sizeof size_t"
23 #endif
24 
25 /* config.h.  Generated from config.h.in by configure.  */
26 /* config.h.in.  Generated from configure.ac by autoheader.  */
27 
28 /* Define if libevent should build without support for a debug mode */
29 /* #undef _EVENT_DISABLE_DEBUG_MODE */
30 
31 /* Define if libevent should not allow replacing the mm functions */
32 /* #undef _EVENT_DISABLE_MM_REPLACEMENT */
33 
34 /* Define if libevent should not be compiled with thread support */
35 /* #undef _EVENT_DISABLE_THREAD_SUPPORT */
36 
37 /* Define to 1 if you have the `arc4random' function. */
38 #define _EVENT_HAVE_ARC4RANDOM 1
39 
40 /* Define to 1 if you have the `arc4random_buf' function. */
41 #define _EVENT_HAVE_ARC4RANDOM_BUF 1
42 
43 /* Define to 1 if you have the <arpa/inet.h> header file. */
44 #define _EVENT_HAVE_ARPA_INET_H 1
45 
46 /* Define to 1 if you have the `clock_gettime' function. */
47 #define _EVENT_HAVE_CLOCK_GETTIME 1
48 
49 /* Define to 1 if you have the declaration of `CTL_KERN', and to 0 if you
50    don't. */
51 /* #undef _EVENT_HAVE_DECL_CTL_KERN */
52 
53 /* Define to 1 if you have the declaration of `KERN_ARND', and to 0 if you
54    don't. */
55 /* #undef _EVENT_HAVE_DECL_KERN_ARND */
56 
57 /* Define to 1 if you have the declaration of `KERN_RANDOM', and to 0 if you
58    don't. */
59 /* #undef _EVENT_HAVE_DECL_KERN_RANDOM */
60 
61 /* Define to 1 if you have the declaration of `RANDOM_UUID', and to 0 if you
62    don't. */
63 /* #undef _EVENT_HAVE_DECL_RANDOM_UUID */
64 
65 /* Define if /dev/poll is available */
66 /* #undef _EVENT_HAVE_DEVPOLL */
67 
68 /* Define to 1 if you have the <dlfcn.h> header file. */
69 #define _EVENT_HAVE_DLFCN_H 1
70 
71 /* Define if your system supports the epoll system calls */
72 #define _EVENT_HAVE_EPOLL 1
73 
74 /* Define to 1 if you have the `epoll_ctl' function. */
75 #define _EVENT_HAVE_EPOLL_CTL 1
76 
77 /* Define to 1 if you have the `eventfd' function. */
78 #define _EVENT_HAVE_EVENTFD 1
79 
80 /* Define if your system supports event ports */
81 /* #undef _EVENT_HAVE_EVENT_PORTS */
82 
83 /* Define to 1 if you have the `fcntl' function. */
84 #define _EVENT_HAVE_FCNTL 1
85 
86 /* Define to 1 if you have the <fcntl.h> header file. */
87 #define _EVENT_HAVE_FCNTL_H 1
88 
89 /* Define to 1 if the system has the type `fd_mask'. */
90 /* #undef _EVENT_HAVE_FD_MASK */
91 
92 /* Do we have getaddrinfo()? */
93 #define _EVENT_HAVE_GETADDRINFO 1
94 
95 /* Define to 1 if you have the `getegid' function. */
96 #define _EVENT_HAVE_GETEGID 1
97 
98 /* Define to 1 if you have the `geteuid' function. */
99 #define _EVENT_HAVE_GETEUID 1
100 
101 /* Define this if you have any gethostbyname_r() */
102 #define _EVENT_HAVE_GETHOSTBYNAME_R 1
103 
104 /* Define this if gethostbyname_r takes 3 arguments */
105 /* #undef _EVENT_HAVE_GETHOSTBYNAME_R_3_ARG */
106 
107 /* Define this if gethostbyname_r takes 5 arguments */
108 /* #undef _EVENT_HAVE_GETHOSTBYNAME_R_5_ARG */
109 
110 /* Define this if gethostbyname_r takes 6 arguments */
111 #define _EVENT_HAVE_GETHOSTBYNAME_R_6_ARG 1
112 
113 /* Define to 1 if you have the `getnameinfo' function. */
114 #define _EVENT_HAVE_GETNAMEINFO 1
115 
116 /* Define to 1 if you have the `getprotobynumber' function. */
117 #define _EVENT_HAVE_GETPROTOBYNUMBER 1
118 
119 /* Define to 1 if you have the `getservbyname' function. */
120 /* #undef _EVENT_HAVE_GETSERVBYNAME */
121 
122 /* Define to 1 if you have the `gettimeofday' function. */
123 #define _EVENT_HAVE_GETTIMEOFDAY 1
124 
125 /* Define to 1 if you have the `inet_aton' function. */
126 #define _EVENT_HAVE_INET_ATON 1
127 
128 /* Define to 1 if you have the `inet_ntop' function. */
129 #define _EVENT_HAVE_INET_NTOP 1
130 
131 /* Define to 1 if you have the `inet_pton' function. */
132 #define _EVENT_HAVE_INET_PTON 1
133 
134 /* Define to 1 if you have the <inttypes.h> header file. */
135 #define _EVENT_HAVE_INTTYPES_H 1
136 
137 /* Define to 1 if you have the `issetugid' function. */
138 /* #undef _EVENT_HAVE_ISSETUGID */
139 
140 /* Define to 1 if you have the `kqueue' function. */
141 /* #undef _EVENT_HAVE_KQUEUE */
142 
143 /* Define if the system has zlib */
144 #define _EVENT_HAVE_LIBZ 1
145 
146 /* Define to 1 if you have the <memory.h> header file. */
147 #define _EVENT_HAVE_MEMORY_H 1
148 
149 /* Define to 1 if you have the `mmap' function. */
150 #define _EVENT_HAVE_MMAP 1
151 
152 /* Define to 1 if you have the <netdb.h> header file. */
153 #define _EVENT_HAVE_NETDB_H 1
154 
155 /* Define to 1 if you have the <netinet/in6.h> header file. */
156 #define _EVENT_HAVE_NETINET_IN6_H 1
157 
158 /* Define to 1 if you have the <netinet/in.h> header file. */
159 #define _EVENT_HAVE_NETINET_IN_H 1
160 
161 /* Define if the system has openssl */
162 #define _EVENT_HAVE_OPENSSL 1
163 
164 /* Define to 1 if you have the <openssl/bio.h> header file. */
165 /* #undef _EVENT_HAVE_OPENSSL_BIO_H */
166 
167 /* Define to 1 if you have the `pipe' function. */
168 #define _EVENT_HAVE_PIPE 1
169 
170 /* Define to 1 if you have the `poll' function. */
171 #define _EVENT_HAVE_POLL 1
172 
173 /* Define to 1 if you have the <poll.h> header file. */
174 #define _EVENT_HAVE_POLL_H 1
175 
176 /* Define to 1 if you have the `port_create' function. */
177 /* #undef _EVENT_HAVE_PORT_CREATE */
178 
179 /* Define to 1 if you have the <port.h> header file. */
180 /* #undef _EVENT_HAVE_PORT_H */
181 
182 /* Define if you have POSIX threads libraries and header files. */
183 /* #undef _EVENT_HAVE_PTHREAD */
184 
185 /* Define if we have pthreads on this system */
186 #define _EVENT_HAVE_PTHREADS 1
187 
188 /* Define to 1 if you have the `putenv' function. */
189 #define _EVENT_HAVE_PUTENV 1
190 
191 /* Define to 1 if the system has the type `sa_family_t'. */
192 #define _EVENT_HAVE_SA_FAMILY_T 1
193 
194 /* Define to 1 if you have the `select' function. */
195 #define _EVENT_HAVE_SELECT 1
196 
197 /* Define to 1 if you have the `sendfile' function. */
198 #define _EVENT_HAVE_SENDFILE 1
199 
200 /* Define to 1 if you have the `setenv' function. */
201 #define _EVENT_HAVE_SETENV 1
202 
203 /* Define if F_SETFD is defined in <fcntl.h> */
204 #define _EVENT_HAVE_SETFD 1
205 
206 /* Define to 1 if you have the `sigaction' function. */
207 #define _EVENT_HAVE_SIGACTION 1
208 
209 /* Define to 1 if you have the `signal' function. */
210 #define _EVENT_HAVE_SIGNAL 1
211 
212 /* Define to 1 if you have the `splice' function. */
213 #define _EVENT_HAVE_SPLICE 1
214 
215 /* Define to 1 if you have the <stdarg.h> header file. */
216 #define _EVENT_HAVE_STDARG_H 1
217 
218 /* Define to 1 if you have the <stddef.h> header file. */
219 #define _EVENT_HAVE_STDDEF_H 1
220 
221 /* Define to 1 if you have the <stdint.h> header file. */
222 #define _EVENT_HAVE_STDINT_H 1
223 
224 /* Define to 1 if you have the <stdlib.h> header file. */
225 #define _EVENT_HAVE_STDLIB_H 1
226 
227 /* Define to 1 if you have the <strings.h> header file. */
228 #define _EVENT_HAVE_STRINGS_H 1
229 
230 /* Define to 1 if you have the <string.h> header file. */
231 #define _EVENT_HAVE_STRING_H 1
232 
233 /* Define to 1 if you have the `strlcpy' function. */
234 #define _EVENT_HAVE_STRLCPY 1
235 
236 /* Define to 1 if you have the `strsep' function. */
237 #define _EVENT_HAVE_STRSEP 1
238 
239 /* Define to 1 if you have the `strtok_r' function. */
240 #define _EVENT_HAVE_STRTOK_R 1
241 
242 /* Define to 1 if you have the `strtoll' function. */
243 #define _EVENT_HAVE_STRTOLL 1
244 
245 /* Define to 1 if the system has the type `struct addrinfo'. */
246 #define _EVENT_HAVE_STRUCT_ADDRINFO 1
247 
248 /* Define to 1 if the system has the type `struct in6_addr'. */
249 #define _EVENT_HAVE_STRUCT_IN6_ADDR 1
250 
251 /* Define to 1 if `s6_addr16' is a member of `struct in6_addr'. */
252 #define _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR16 1
253 
254 /* Define to 1 if `s6_addr32' is a member of `struct in6_addr'. */
255 #define _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR32 1
256 
257 /* Define to 1 if the system has the type `struct sockaddr_in6'. */
258 #define _EVENT_HAVE_STRUCT_SOCKADDR_IN6 1
259 
260 /* Define to 1 if `sin6_len' is a member of `struct sockaddr_in6'. */
261 /* #undef _EVENT_HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN */
262 
263 /* Define to 1 if `sin_len' is a member of `struct sockaddr_in'. */
264 /* #undef _EVENT_HAVE_STRUCT_SOCKADDR_IN_SIN_LEN */
265 
266 /* Define to 1 if the system has the type `struct sockaddr_storage'. */
267 #define _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE 1
268 
269 /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
270 #define _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
271 
272 /* Define to 1 if `__ss_family' is a member of `struct sockaddr_storage'. */
273 /* #undef _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY */
274 
275 /* Define to 1 if you have the `sysctl' function. */
276 /* #undef _EVENT_HAVE_SYSCTL */
277 
278 /* Define to 1 if you have the <sys/devpoll.h> header file. */
279 /* #undef _EVENT_HAVE_SYS_DEVPOLL_H */
280 
281 /* Define to 1 if you have the <sys/epoll.h> header file. */
282 #define _EVENT_HAVE_SYS_EPOLL_H 1
283 
284 /* Define to 1 if you have the <sys/eventfd.h> header file. */
285 #define _EVENT_HAVE_SYS_EVENTFD_H 1
286 
287 /* Define to 1 if you have the <sys/event.h> header file. */
288 /* #undef _EVENT_HAVE_SYS_EVENT_H */
289 
290 /* Define to 1 if you have the <sys/ioctl.h> header file. */
291 #define _EVENT_HAVE_SYS_IOCTL_H 1
292 
293 /* Define to 1 if you have the <sys/mman.h> header file. */
294 #define _EVENT_HAVE_SYS_MMAN_H 1
295 
296 /* Define to 1 if you have the <sys/param.h> header file. */
297 #define _EVENT_HAVE_SYS_PARAM_H 1
298 
299 /* Define to 1 if you have the <sys/queue.h> header file. */
300 #define _EVENT_HAVE_SYS_QUEUE_H 1
301 
302 /* Define to 1 if you have the <sys/select.h> header file. */
303 #define _EVENT_HAVE_SYS_SELECT_H 1
304 
305 /* Define to 1 if you have the <sys/sendfile.h> header file. */
306 #define _EVENT_HAVE_SYS_SENDFILE_H 1
307 
308 /* Define to 1 if you have the <sys/socket.h> header file. */
309 #define _EVENT_HAVE_SYS_SOCKET_H 1
310 
311 /* Define to 1 if you have the <sys/stat.h> header file. */
312 #define _EVENT_HAVE_SYS_STAT_H 1
313 
314 /* Define to 1 if you have the <sys/sysctl.h> header file. */
315 /* #undef _EVENT_HAVE_SYS_SYSCTL_H */
316 
317 /* Define to 1 if you have the <sys/time.h> header file. */
318 #define _EVENT_HAVE_SYS_TIME_H 1
319 
320 /* Define to 1 if you have the <sys/types.h> header file. */
321 #define _EVENT_HAVE_SYS_TYPES_H 1
322 
323 /* Define to 1 if you have the <sys/uio.h> header file. */
324 #define _EVENT_HAVE_SYS_UIO_H 1
325 
326 /* Define to 1 if you have the <sys/wait.h> header file. */
327 #define _EVENT_HAVE_SYS_WAIT_H 1
328 
329 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
330 /*#define _EVENT_HAVE_TAILQFOREACH 1 */
331 
332 /* Define if timeradd is defined in <sys/time.h> */
333 #define _EVENT_HAVE_TIMERADD 1
334 
335 /* Define if timerclear is defined in <sys/time.h> */
336 #define _EVENT_HAVE_TIMERCLEAR 1
337 
338 /* Define if timercmp is defined in <sys/time.h> */
339 #define _EVENT_HAVE_TIMERCMP 1
340 
341 /* Define if timerisset is defined in <sys/time.h> */
342 #define _EVENT_HAVE_TIMERISSET 1
343 
344 /* Define to 1 if the system has the type `uint16_t'. */
345 #define _EVENT_HAVE_UINT16_T 1
346 
347 /* Define to 1 if the system has the type `uint32_t'. */
348 #define _EVENT_HAVE_UINT32_T 1
349 
350 /* Define to 1 if the system has the type `uint64_t'. */
351 #define _EVENT_HAVE_UINT64_T 1
352 
353 /* Define to 1 if the system has the type `uint8_t'. */
354 #define _EVENT_HAVE_UINT8_T 1
355 
356 /* Define to 1 if the system has the type `uintptr_t'. */
357 #define _EVENT_HAVE_UINTPTR_T 1
358 
359 /* Define to 1 if you have the `umask' function. */
360 #define _EVENT_HAVE_UMASK 1
361 
362 /* Define to 1 if you have the <unistd.h> header file. */
363 #define _EVENT_HAVE_UNISTD_H 1
364 
365 /* Define to 1 if you have the `unsetenv' function. */
366 #define _EVENT_HAVE_UNSETENV 1
367 
368 /* Define to 1 if you have the `vasprintf' function. */
369 #define _EVENT_HAVE_VASPRINTF 1
370 
371 /* Define if kqueue works correctly with pipes */
372 /* #undef _EVENT_HAVE_WORKING_KQUEUE */
373 
374 /* Define to 1 if you have the <zlib.h> header file. */
375 #define _EVENT_HAVE_ZLIB_H 1
376 
377 /* Define to the sub-directory in which libtool stores uninstalled libraries.
378    */
379 #define _EVENT_LT_OBJDIR ".libs/"
380 
381 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
382 /* #undef _EVENT_NO_MINUS_C_MINUS_O */
383 
384 /* Numeric representation of the version */
385 #define _EVENT_NUMERIC_VERSION 0x02001600
386 
387 /* Name of package */
388 #define _EVENT_PACKAGE "libevent"
389 
390 /* Define to the address where bug reports for this package should be sent. */
391 #define _EVENT_PACKAGE_BUGREPORT ""
392 
393 /* Define to the full name of this package. */
394 #define _EVENT_PACKAGE_NAME ""
395 
396 /* Define to the full name and version of this package. */
397 #define _EVENT_PACKAGE_STRING ""
398 
399 /* Define to the one symbol short name of this package. */
400 #define _EVENT_PACKAGE_TARNAME ""
401 
402 /* Define to the home page for this package. */
403 #define _EVENT_PACKAGE_URL ""
404 
405 /* Define to the version of this package. */
406 #define _EVENT_PACKAGE_VERSION ""
407 
408 /* Define to necessary symbol if this constant uses a non-standard name on
409    your system. */
410 /* #undef _EVENT_PTHREAD_CREATE_JOINABLE */
411 
412 /* Define to 1 if you have the ANSI C header files. */
413 #define _EVENT_STDC_HEADERS 1
414 
415 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
416 #define _EVENT_TIME_WITH_SYS_TIME 1
417 
418 /* Version number of package */
419 #define _EVENT_VERSION "2.0.22-stable"
420 
421 /* Define to appropriate substitue if compiler doesnt have __func__ */
422 /* #undef _EVENT___func__ */
423 
424 /* Define to empty if `const' does not conform to ANSI C. */
425 /* #undef _EVENT_const */
426 
427 /* Define to `__inline__' or `__inline' if that's what the C compiler
428    calls it, or to nothing if 'inline' is not supported under any name.  */
429 #ifndef _EVENT___cplusplus
430 /* #undef _EVENT_inline */
431 #endif
432 
433 /* Define to `int' if <sys/types.h> does not define. */
434 /* #undef _EVENT_pid_t */
435 
436 /* Define to `unsigned int' if <sys/types.h> does not define. */
437 /* #undef _EVENT_size_t */
438 
439 /* Define to unsigned int if you dont have it */
440 /* #undef _EVENT_socklen_t */
441 
442 /* Define to `int' if <sys/types.h> does not define. */
443 /* #undef _EVENT_ssize_t */
444 
445 #endif /* event2/event-config.h */
446