3 * This file was generated by cmake when the makefiles were generated.
5 * DO NOT EDIT THIS FILE.
7 * Do not rely on macros in this file existing in later versions.
9 #ifndef EVENT2_EVENT_CONFIG_H_INCLUDED_
10 #define EVENT2_EVENT_CONFIG_H_INCLUDED_
12 /* Numeric representation of the version */
13 #define EVENT__NUMERIC_VERSION @EVENT_NUMERIC_VERSION@
14 #define EVENT__PACKAGE_VERSION "@EVENT_PACKAGE_VERSION@"
16 #define EVENT__VERSION_MAJOR @EVENT_VERSION_MAJOR@
17 #define EVENT__VERSION_MINOR @EVENT_VERSION_MINOR@
18 #define EVENT__VERSION_PATCH @EVENT_VERSION_PATCH@
20 /* Version number of package */
21 #define EVENT__VERSION "@EVENT_VERSION@"
24 #define EVENT__PACKAGE "libevent"
26 /* Define to the address where bug reports for this package should be sent. */
27 #define EVENT__PACKAGE_BUGREPORT ""
29 /* Define to the full name of this package. */
30 #define EVENT__PACKAGE_NAME ""
32 /* Define to the full name and version of this package. */
33 #define EVENT__PACKAGE_STRING ""
35 /* Define to the one symbol short name of this package. */
36 #define EVENT__PACKAGE_TARNAME ""
38 /* Define if libevent should build without support for a debug mode */
39 #cmakedefine EVENT__DISABLE_DEBUG_MODE
41 /* Define if libevent should not allow replacing the mm functions */
42 #cmakedefine EVENT__DISABLE_MM_REPLACEMENT
44 /* Define if libevent should not be compiled with thread support */
45 #cmakedefine EVENT__DISABLE_THREAD_SUPPORT
47 /* Define to 1 if you have the `accept4' function. */
48 #cmakedefine EVENT__HAVE_ACCEPT4
50 /* Define to 1 if you have the `arc4random' function. */
51 #cmakedefine EVENT__HAVE_ARC4RANDOM
53 /* Define to 1 if you have the `arc4random_buf' function. */
54 #cmakedefine EVENT__HAVE_ARC4RANDOM_BUF
56 /* Define if clock_gettime is available in libc */
57 #cmakedefine EVENT__DNS_USE_CPU_CLOCK_FOR_ID
59 /* Define is no secure id variant is available */
60 #cmakedefine EVENT__DNS_USE_GETTIMEOFDAY_FOR_ID
61 #cmakedefine EVENT__DNS_USE_FTIME_FOR_ID
63 /* Define to 1 if you have the <arpa/inet.h> header file. */
64 #cmakedefine EVENT__HAVE_ARPA_INET_H
66 /* Define to 1 if you have the `clock_gettime' function. */
67 #cmakedefine EVENT__HAVE_CLOCK_GETTIME
69 /* Define to 1 if you have the declaration of `CTL_KERN'. */
70 #cmakedefine EVENT__HAVE_DECL_CTL_KERN
72 /* Define to 1 if you have the declaration of `KERN_ARND'. */
73 #cmakedefine EVENT__HAVE_DECL_KERN_ARND
75 /* Define to 1 if you have the declaration of `KERN_RANDOM'. */
76 #cmakedefine EVENT__HAVE_DECL_KERN_RANDOM
78 /* Define if /dev/poll is available */
79 #cmakedefine EVENT__HAVE_DEVPOLL
81 /* Define to 1 if you have the <netdb.h> header file. */
82 #cmakedefine EVENT__HAVE_NETDB_H
84 /* Define to 1 if fd_mask type is defined */
85 #cmakedefine EVENT__HAVE_FD_MASK
87 /* Define to 1 if the <sys/queue.h> header file defines TAILQ_FOREACH. */
88 #cmakedefine EVENT__HAVE_TAILQFOREACH
90 /* Define to 1 if you have the <dlfcn.h> header file. */
91 #cmakedefine EVENT__HAVE_DLFCN_H
93 /* Define if your system supports the epoll system calls */
94 #cmakedefine EVENT__HAVE_EPOLL
96 /* Define to 1 if you have the `epoll_create1' function. */
97 #cmakedefine EVENT__HAVE_EPOLL_CREATE1
99 /* Define to 1 if you have the `epoll_ctl' function. */
100 #cmakedefine EVENT__HAVE_EPOLL_CTL
102 /* Define to 1 if you have the `eventfd' function. */
103 #cmakedefine EVENT__HAVE_EVENTFD
105 /* Define if your system supports event ports */
106 #cmakedefine EVENT__HAVE_EVENT_PORTS
108 /* Define to 1 if you have the `fcntl' function. */
109 #cmakedefine EVENT__HAVE_FCNTL
111 /* Define to 1 if you have the <fcntl.h> header file. */
112 #cmakedefine EVENT__HAVE_FCNTL_H
114 /* Define to 1 if you have the `getaddrinfo' function. */
115 #cmakedefine EVENT__HAVE_GETADDRINFO
117 /* Define to 1 if you have the `getegid' function. */
118 #cmakedefine EVENT__HAVE_GETEGID
120 /* Define to 1 if you have the `geteuid' function. */
121 #cmakedefine EVENT__HAVE_GETEUID
123 /* TODO: Check for different gethostname argument counts. CheckPrototypeDefinition.cmake can be used. */
124 /* Define this if you have any gethostbyname_r() */
125 #cmakedefine EVENT__HAVE_GETHOSTBYNAME_R
127 /* Define this if gethostbyname_r takes 3 arguments */
128 #cmakedefine EVENT__HAVE_GETHOSTBYNAME_R_3_ARG
130 /* Define this if gethostbyname_r takes 5 arguments */
131 #cmakedefine EVENT__HAVE_GETHOSTBYNAME_R_5_ARG
133 /* Define this if gethostbyname_r takes 6 arguments */
134 #cmakedefine EVENT__HAVE_GETHOSTBYNAME_R_6_ARG
136 /* Define to 1 if you have the `getifaddrs' function. */
137 #cmakedefine EVENT__HAVE_GETIFADDRS
139 /* Define to 1 if you have the `getnameinfo' function. */
140 #cmakedefine EVENT__HAVE_GETNAMEINFO
142 /* Define to 1 if you have the `getprotobynumber' function. */
143 #cmakedefine EVENT__HAVE_GETPROTOBYNUMBER
145 /* Define to 1 if you have the `getservbyname' function. */
146 #cmakedefine EVENT__HAVE_GETSERVBYNAME
148 /* Define to 1 if you have the `gettimeofday' function. */
149 #cmakedefine EVENT__HAVE_GETTIMEOFDAY
151 /* Define to 1 if you have the <ifaddrs.h> header file. */
152 #cmakedefine EVENT__HAVE_IFADDRS_H
154 /* Define to 1 if you have the `inet_ntop' function. */
155 #cmakedefine EVENT__HAVE_INET_NTOP
157 /* Define to 1 if you have the `inet_pton' function. */
158 #cmakedefine EVENT__HAVE_INET_PTON
160 /* Define to 1 if you have the <inttypes.h> header file. */
161 #cmakedefine EVENT__HAVE_INTTYPES_H
163 /* Define to 1 if you have the `issetugid' function. */
164 #cmakedefine EVENT__HAVE_ISSETUGID
166 /* Define to 1 if you have the `kqueue' function. */
167 #cmakedefine EVENT__HAVE_KQUEUE
169 /* Define if the system has zlib */
170 #cmakedefine EVENT__HAVE_LIBZ
172 /* Define to 1 if you have the `mach_absolute_time' function. */
173 #cmakedefine EVENT__HAVE_MACH_ABSOLUTE_TIME
175 /* Define to 1 if you have the <mach/mach_time.h> header file. */
176 #cmakedefine EVENT__HAVE_MACH_MACH_TIME_H
178 /* Define to 1 if you have the <memory.h> header file. */
179 #cmakedefine EVENT__HAVE_MEMORY_H
181 /* Define to 1 if you have the `mmap' function. */
182 #cmakedefine EVENT__HAVE_MMAP
184 /* Define to 1 if you have the `nanosleep' function. */
185 #cmakedefine EVENT__HAVE_NANOSLEEP
187 /* Define to 1 if you have the `usleep' function. */
188 #cmakedefine EVENT__HAVE_USLEEP
190 /* Define to 1 if you have the <netdb.h> header file. */
191 #cmakedefine EVENT__HAVE_NETDB_H
193 /* Define to 1 if you have the <netinet/in6.h> header file. */
194 #cmakedefine EVENT__HAVE_NETINET_IN6_H
196 /* Define to 1 if you have the <netinet/in.h> header file. */
197 #cmakedefine EVENT__HAVE_NETINET_IN_H
199 /* Define to 1 if you have the <netinet/tcp.h> header file. */
200 #cmakedefine EVENT__HAVE_NETINET_TCP_H
202 /* Define if the system has openssl */
203 #cmakedefine EVENT__HAVE_OPENSSL
205 /* Defines if the system has zlib */
206 #cmakedefine EVENT__HAVE_ZLIB
208 /* Define to 1 if you have the `pipe' function. */
209 #cmakedefine EVENT__HAVE_PIPE
211 /* Define to 1 if you have the `pipe2' function. */
212 #cmakedefine EVENT__HAVE_PIPE2
214 /* Define to 1 if you have the `poll' function. */
215 #cmakedefine EVENT__HAVE_POLL
217 /* Define to 1 if you have the <poll.h> header file. */
218 #cmakedefine EVENT__HAVE_POLL_H
220 /* Define to 1 if you have the `port_create' function. */
221 #cmakedefine EVENT__HAVE_PORT_CREATE
223 /* Define to 1 if you have the <port.h> header file. */
224 #cmakedefine EVENT__HAVE_PORT_H
226 /* Define if you have POSIX threads libraries and header files. */
227 #cmakedefine EVENT__HAVE_PTHREAD
229 /* Define if we have pthreads on this system */
230 #cmakedefine EVENT__HAVE_PTHREADS
232 /* Define to 1 if you have the `putenv' function. */
233 #cmakedefine EVENT__HAVE_PUTENV
235 /* Define to 1 if the system has the type `sa_family_t'. */
236 #cmakedefine EVENT__HAVE_SA_FAMILY_T
238 /* Define to 1 if you have the `select' function. */
239 #cmakedefine EVENT__HAVE_SELECT
241 /* Define to 1 if you have the `setenv' function. */
242 #cmakedefine EVENT__HAVE_SETENV
244 /* Define if F_SETFD is defined in <fcntl.h> */
245 #cmakedefine EVENT__HAVE_SETFD
247 /* Define to 1 if you have the `setrlimit' function. */
248 #cmakedefine EVENT__HAVE_SETRLIMIT
250 /* Define to 1 if you have the `sendfile' function. */
251 #cmakedefine EVENT__HAVE_SENDFILE
253 /* Define if F_SETFD is defined in <fcntl.h> */
254 #cmakedefine EVENT__HAVE_SETFD
256 /* Define to 1 if you have the `sigaction' function. */
257 #cmakedefine EVENT__HAVE_SIGACTION
259 /* Define to 1 if you have the `signal' function. */
260 #cmakedefine EVENT__HAVE_SIGNAL
262 /* Define to 1 if you have the `splice' function. */
263 #cmakedefine EVENT__HAVE_SPLICE
265 /* Define to 1 if you have the <stdarg.h> header file. */
266 #cmakedefine EVENT__HAVE_STDARG_H
268 /* Define to 1 if you have the <stddef.h> header file. */
269 #cmakedefine EVENT__HAVE_STDDEF_H
271 /* Define to 1 if you have the <stdint.h> header file. */
272 #cmakedefine EVENT__HAVE_STDINT_H
274 /* Define to 1 if you have the <stdlib.h> header file. */
275 #cmakedefine EVENT__HAVE_STDLIB_H
277 /* Define to 1 if you have the <strings.h> header file. */
278 #cmakedefine EVENT__HAVE_STRINGS_H
280 /* Define to 1 if you have the <string.h> header file. */
281 #cmakedefine EVENT__HAVE_STRING_H
283 /* Define to 1 if you have the `strlcpy' function. */
284 #cmakedefine EVENT__HAVE_STRLCPY
286 /* Define to 1 if you have the `strsep' function. */
287 #cmakedefine EVENT__HAVE_STRSEP
289 /* Define to 1 if you have the `strtok_r' function. */
290 #cmakedefine EVENT__HAVE_STRTOK_R
292 /* Define to 1 if you have the `strtoll' function. */
293 #cmakedefine EVENT__HAVE_STRTOLL
295 /* Define to 1 if the system has the type `struct addrinfo'. */
296 #cmakedefine EVENT__HAVE_STRUCT_ADDRINFO
298 /* Define to 1 if the system has the type `struct in6_addr'. */
299 #cmakedefine EVENT__HAVE_STRUCT_IN6_ADDR
301 /* Define to 1 if `s6_addr16' is member of `struct in6_addr'. */
302 #cmakedefine EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR16
304 /* Define to 1 if `s6_addr32' is member of `struct in6_addr'. */
305 #cmakedefine EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR32
307 /* Define to 1 if the system has the type `struct sockaddr_in6'. */
308 #cmakedefine EVENT__HAVE_STRUCT_SOCKADDR_IN6
310 /* Define to 1 if `sin6_len' is member of `struct sockaddr_in6'. */
311 #cmakedefine EVENT__HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN
313 /* Define to 1 if `sin_len' is member of `struct sockaddr_in'. */
314 #cmakedefine EVENT__HAVE_STRUCT_SOCKADDR_IN_SIN_LEN
316 /* Define to 1 if the system has the type `struct sockaddr_storage'. */
317 #cmakedefine EVENT__HAVE_STRUCT_SOCKADDR_STORAGE
319 /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
320 #cmakedefine EVENT__HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY
322 /* Define to 1 if `__ss_family' is a member of `struct sockaddr_storage'. */
323 #cmakedefine EVENT__HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY
325 /* Define to 1 if you have the `sysctl' function. */
326 #cmakedefine EVENT__HAVE_SYSCTL
328 /* Define to 1 if you have the <sys/devpoll.h> header file. */
329 #cmakedefine EVENT__HAVE_SYS_DEVPOLL_H
331 /* Define to 1 if you have the <sys/epoll.h> header file. */
332 #cmakedefine EVENT__HAVE_SYS_EPOLL_H
334 /* Define to 1 if you have the <sys/eventfd.h> header file. */
335 #cmakedefine EVENT__HAVE_SYS_EVENTFD_H
337 /* Define to 1 if you have the <sys/event.h> header file. */
338 #cmakedefine EVENT__HAVE_SYS_EVENT_H
340 /* Define to 1 if you have the <sys/ioctl.h> header file. */
341 #cmakedefine EVENT__HAVE_SYS_IOCTL_H
343 /* Define to 1 if you have the <sys/mman.h> header file. */
344 #cmakedefine EVENT__HAVE_SYS_MMAN_H
346 /* Define to 1 if you have the <sys/param.h> header file. */
347 #cmakedefine EVENT__HAVE_SYS_PARAM_H
349 /* Define to 1 if you have the <sys/queue.h> header file. */
350 #cmakedefine EVENT__HAVE_SYS_QUEUE_H
352 /* Define to 1 if you have the <sys/resource.h> header file. */
353 #cmakedefine EVENT__HAVE_SYS_RESOURCE_H
355 /* Define to 1 if you have the <sys/select.h> header file. */
356 #cmakedefine EVENT__HAVE_SYS_SELECT_H
358 /* Define to 1 if you have the <sys/sendfile.h> header file. */
359 #cmakedefine EVENT__HAVE_SYS_SENDFILE_H
361 /* Define to 1 if you have the <sys/socket.h> header file. */
362 #cmakedefine EVENT__HAVE_SYS_SOCKET_H
364 /* Define to 1 if you have the <sys/stat.h> header file. */
365 #cmakedefine EVENT__HAVE_SYS_STAT_H
367 /* Define to 1 if you have the <sys/sysctl.h> header file. */
368 #cmakedefine EVENT__HAVE_SYS_SYSCTL_H
370 /* Define to 1 if you have the <sys/timerfd.h> header file. */
371 #cmakedefine EVENT__HAVE_SYS_TIMERFD_H */
373 /* Define to 1 if you have the <sys/time.h> header file. */
374 #cmakedefine EVENT__HAVE_SYS_TIME_H
376 /* Define to 1 if you have the <sys/types.h> header file. */
377 #cmakedefine EVENT__HAVE_SYS_TYPES_H
379 /* Define to 1 if you have the <sys/uio.h> header file. */
380 #cmakedefine EVENT__HAVE_SYS_UIO_H
382 /* Define to 1 if you have the <sys/wait.h> header file. */
383 #cmakedefine EVENT__HAVE_SYS_WAIT_H
385 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
386 #cmakedefine EVENT__HAVE_TAILQFOREACH
388 /* Define if timeradd is defined in <sys/time.h> */
389 #cmakedefine EVENT__HAVE_TIMERADD
391 /* Define if timerclear is defined in <sys/time.h> */
392 #cmakedefine EVENT__HAVE_TIMERCLEAR
394 /* Define if timercmp is defined in <sys/time.h> */
395 #cmakedefine EVENT__HAVE_TIMERCMP
397 /* Define to 1 if you have the `timerfd_create' function. */
398 #cmakedefine EVENT__HAVE_TIMERFD_CREATE
400 /* Define if timerisset is defined in <sys/time.h> */
401 #cmakedefine EVENT__HAVE_TIMERISSET
403 /* Define to 1 if the system has the type `uint8_t'. */
404 #cmakedefine EVENT__HAVE_UINT8_T
406 /* Define to 1 if the system has the type `uint16_t'. */
407 #cmakedefine EVENT__HAVE_UINT16_T
409 /* Define to 1 if the system has the type `uint32_t'. */
410 #cmakedefine EVENT__HAVE_UINT32_T
412 /* Define to 1 if the system has the type `uint64_t'. */
413 #cmakedefine EVENT__HAVE_UINT64_T
415 /* Define to 1 if the system has the type `uintptr_t'. */
416 #cmakedefine EVENT__HAVE_UINTPTR_T
418 /* Define to 1 if you have the `umask' function. */
419 #cmakedefine EVENT__HAVE_UMASK
421 /* Define to 1 if you have the <unistd.h> header file. */
422 #cmakedefine EVENT__HAVE_UNISTD_H
424 /* Define to 1 if you have the `unsetenv' function. */
425 #cmakedefine EVENT__HAVE_UNSETENV
427 /* Define to 1 if you have the `vasprintf' function. */
428 #cmakedefine EVENT__HAVE_VASPRINTF
430 /* Define if kqueue works correctly with pipes */
431 #cmakedefine EVENT__HAVE_WORKING_KQUEUE
433 #ifdef __USE_UNUSED_DEFINITIONS__
434 /* Define to necessary symbol if this constant uses a non-standard name on your system. */
435 /* XXX: Hello, this isn't even used, nor is it defined anywhere... - Ellzey */
436 #define EVENT__PTHREAD_CREATE_JOINABLE ${EVENT__PTHREAD_CREATE_JOINABLE}
439 /* The size of `pthread_t', as computed by sizeof. */
440 #define EVENT__SIZEOF_PTHREAD_T @EVENT__SIZEOF_PTHREAD_T@
442 /* The size of a `int', as computed by sizeof. */
443 #define EVENT__SIZEOF_INT @EVENT__SIZEOF_INT@
445 /* The size of a `long', as computed by sizeof. */
446 #define EVENT__SIZEOF_LONG @EVENT__SIZEOF_LONG@
448 /* The size of a `long long', as computed by sizeof. */
449 #define EVENT__SIZEOF_LONG_LONG @EVENT__SIZEOF_LONG_LONG@
451 /* The size of `off_t', as computed by sizeof. */
452 #define EVENT__SIZEOF_OFF_T @EVENT__SIZEOF_OFF_T@
454 #define EVENT__SIZEOF_SSIZE_T @EVENT__SIZEOF_SSIZE_T@
457 /* The size of a `short', as computed by sizeof. */
458 #define EVENT__SIZEOF_SHORT @EVENT__SIZEOF_SHORT@
460 /* The size of `size_t', as computed by sizeof. */
461 #define EVENT__SIZEOF_SIZE_T @EVENT__SIZEOF_SIZE_T@
463 /* Define to 1 if you have the ANSI C header files. */
464 #cmakedefine EVENT__STDC_HEADERS
466 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
467 #cmakedefine EVENT__TIME_WITH_SYS_TIME
469 /* The size of `socklen_t', as computed by sizeof. */
470 #define EVENT__SIZEOF_SOCKLEN_T @EVENT__SIZEOF_SOCKLEN_T@
472 /* The size of 'void *', as computer by sizeof */
473 #define EVENT__SIZEOF_VOID_P @EVENT__SIZEOF_VOID_P@
475 /* set an alias for whatever __func__ __FUNCTION__ is, what sillyness */
476 #if defined (__func__)
477 #define EVENT____func__ __func__
478 #elif defined(__FUNCTION__)
479 #define EVENT____func__ __FUNCTION__
481 #define EVENT____func__ __FILE__
485 #ifdef __THESE_ARE_NOT_CONFIG_H_THINGS_THEY_ARE_DASH_D_THINGS__
486 /* Number of bits in a file offset, on hosts where this is settable. */
487 /* Ellzey is not satisfied */
488 #define EVENT___FILE_OFFSET_BITS @EVENT___FILE_OFFSET_BITS@
490 /* Define for large files, on AIX-style hosts. */
491 #define @_LARGE_FILES@
494 #ifdef _WhAT_DOES_THIS_EVEN_DO_
495 /* Define to empty if `const' does not conform to ANSI C. */
496 /* lolwut? - ellzey */
501 /* Define to `__inline__' or `__inline' if that's what the C compiler
502 calls it, or to nothing if 'inline' is not supported under any name. */
506 * and are we really expected to use EVENT__inline everywhere,
507 * shouldn't we just do:
508 * ifdef EVENT__inline
509 * define inline EVENT__inline
514 #define EVENT__inline @EVENT__inline@
517 /* Define to `int' if <sys/tyes.h> does not define. */
518 #define EVENT__pid_t @EVENT__pid_t@
520 /* Define to `unsigned' if <sys/types.h> does not define. */
521 #define EVENT__size_t @EVENT__size_t@
523 /* Define to unsigned int if you dont have it */
524 #define EVENT__socklen_t @EVENT__socklen_t@
526 /* Define to `int' if <sys/types.h> does not define. */
527 #define EVENT__ssize_t @EVENT__ssize_t@
529 #define EVENT__NEED_DLLIMPORT @EVENT__NEED_DLLIMPORT@
531 /* Define to 1 if you have ERR_remove_thread_stat(). */
532 #cmakedefine EVENT__HAVE_ERR_REMOVE_THREAD_STATE