1/* event-config.h 2 * 3 * This file was generated by cmake when the makefiles were generated. 4 * 5 * DO NOT EDIT THIS FILE. 6 * 7 * Do not rely on macros in this file existing in later versions. 8 */ 9#ifndef EVENT2_EVENT_CONFIG_H_INCLUDED_ 10#define EVENT2_EVENT_CONFIG_H_INCLUDED_ 11 12/* Numeric representation of the version */ 13#define EVENT__NUMERIC_VERSION @EVENT_NUMERIC_VERSION@ 14#define EVENT__PACKAGE_VERSION "@EVENT_PACKAGE_VERSION@" 15 16#define EVENT__VERSION_MAJOR @EVENT_VERSION_MAJOR@ 17#define EVENT__VERSION_MINOR @EVENT_VERSION_MINOR@ 18#define EVENT__VERSION_PATCH @EVENT_VERSION_PATCH@ 19 20/* Version number of package */ 21#define EVENT__VERSION "@EVENT_VERSION@" 22 23/* Name of package */ 24#define EVENT__PACKAGE "libevent" 25 26/* Define to the address where bug reports for this package should be sent. */ 27#define EVENT__PACKAGE_BUGREPORT "" 28 29/* Define to the full name of this package. */ 30#define EVENT__PACKAGE_NAME "" 31 32/* Define to the full name and version of this package. */ 33#define EVENT__PACKAGE_STRING "" 34 35/* Define to the one symbol short name of this package. */ 36#define EVENT__PACKAGE_TARNAME "" 37 38/* Define if libevent should build without support for a debug mode */ 39#cmakedefine EVENT__DISABLE_DEBUG_MODE 1 40 41/* Define if libevent should not allow replacing the mm functions */ 42#cmakedefine EVENT__DISABLE_MM_REPLACEMENT 1 43 44/* Define if libevent should not be compiled with thread support */ 45#cmakedefine EVENT__DISABLE_THREAD_SUPPORT 1 46 47/* Define to 1 if you have the `accept4' function. */ 48#cmakedefine EVENT__HAVE_ACCEPT4 1 49 50/* Define to 1 if you have the `arc4random' function. */ 51#cmakedefine EVENT__HAVE_ARC4RANDOM 1 52 53/* Define to 1 if you have the `arc4random_buf' function. */ 54#cmakedefine EVENT__HAVE_ARC4RANDOM_BUF 1 55 56/* Define to 1 if you have the `arc4random_addrandom' function. */ 57#cmakedefine EVENT__HAVE_ARC4RANDOM_ADDRANDOM 1 58 59/* Define if clock_gettime is available in libc */ 60#cmakedefine EVENT__DNS_USE_CPU_CLOCK_FOR_ID 1 61 62/* Define is no secure id variant is available */ 63#cmakedefine EVENT__DNS_USE_GETTIMEOFDAY_FOR_ID 1 64#cmakedefine EVENT__DNS_USE_FTIME_FOR_ID 1 65 66/* Define to 1 if you have the <arpa/inet.h> header file. */ 67#cmakedefine EVENT__HAVE_ARPA_INET_H 1 68 69/* Define to 1 if you have the `clock_gettime' function. */ 70#cmakedefine EVENT__HAVE_CLOCK_GETTIME 1 71 72/* Define to 1 if you have the declaration of `CTL_KERN'. */ 73#define EVENT__HAVE_DECL_CTL_KERN @EVENT__HAVE_DECL_CTL_KERN@ 74 75/* Define to 1 if you have the declaration of `KERN_ARND'. */ 76#define EVENT__HAVE_DECL_KERN_ARND @EVENT__HAVE_DECL_KERN_ARND@ 77 78/* Define to 1 if you have `getrandom' function. */ 79#cmakedefine EVENT__HAVE_GETRANDOM 1 80 81/* Define if /dev/poll is available */ 82#cmakedefine EVENT__HAVE_DEVPOLL 1 83 84/* Define to 1 if you have the <netdb.h> header file. */ 85#cmakedefine EVENT__HAVE_NETDB_H 1 86 87/* Define to 1 if fd_mask type is defined */ 88#cmakedefine EVENT__HAVE_FD_MASK 1 89 90/* Define to 1 if the <sys/queue.h> header file defines TAILQ_FOREACH. */ 91#cmakedefine EVENT__HAVE_TAILQFOREACH 1 92 93/* Define to 1 if you have the <dlfcn.h> header file. */ 94#cmakedefine EVENT__HAVE_DLFCN_H 1 95 96/* Define if your system supports the epoll system calls */ 97#cmakedefine EVENT__HAVE_EPOLL 1 98 99/* Define to 1 if you have the `epoll_create1' function. */ 100#cmakedefine EVENT__HAVE_EPOLL_CREATE1 1 101 102/* Define to 1 if you have the `epoll_ctl' function. */ 103#cmakedefine EVENT__HAVE_EPOLL_CTL 1 104 105/* Define to 1 if you have the `eventfd' function. */ 106#cmakedefine EVENT__HAVE_EVENTFD 1 107 108/* Define if your system supports event ports */ 109#cmakedefine EVENT__HAVE_EVENT_PORTS 1 110 111/* Define to 1 if you have the `fcntl' function. */ 112#cmakedefine EVENT__HAVE_FCNTL 1 113 114/* Define to 1 if you have the <fcntl.h> header file. */ 115#cmakedefine EVENT__HAVE_FCNTL_H 1 116 117/* Define to 1 if you have the `getaddrinfo' function. */ 118#cmakedefine EVENT__HAVE_GETADDRINFO 1 119 120/* Define to 1 if you have the `getegid' function. */ 121#cmakedefine EVENT__HAVE_GETEGID 1 122 123/* Define to 1 if you have the `geteuid' function. */ 124#cmakedefine EVENT__HAVE_GETEUID 1 125 126/* TODO: Check for different gethostname argument counts. CheckPrototypeDefinition.cmake can be used. */ 127/* Define this if you have any gethostbyname_r() */ 128#cmakedefine EVENT__HAVE_GETHOSTBYNAME_R 1 129 130/* Define this if gethostbyname_r takes 3 arguments */ 131#cmakedefine EVENT__HAVE_GETHOSTBYNAME_R_3_ARG 1 132 133/* Define this if gethostbyname_r takes 5 arguments */ 134#cmakedefine EVENT__HAVE_GETHOSTBYNAME_R_5_ARG 1 135 136/* Define this if gethostbyname_r takes 6 arguments */ 137#cmakedefine EVENT__HAVE_GETHOSTBYNAME_R_6_ARG 1 138 139/* Define to 1 if you have the `getifaddrs' function. */ 140#cmakedefine EVENT__HAVE_GETIFADDRS 1 141 142/* Define to 1 if you have the `getnameinfo' function. */ 143#cmakedefine EVENT__HAVE_GETNAMEINFO 1 144 145/* Define to 1 if you have the `getprotobynumber' function. */ 146#cmakedefine EVENT__HAVE_GETPROTOBYNUMBER 1 147 148/* Define to 1 if you have the `getservbyname' function. */ 149#cmakedefine EVENT__HAVE_GETSERVBYNAME 1 150 151/* Define to 1 if you have the `gettimeofday' function. */ 152#cmakedefine EVENT__HAVE_GETTIMEOFDAY 1 153 154/* Define to 1 if you have the <ifaddrs.h> header file. */ 155#cmakedefine EVENT__HAVE_IFADDRS_H 1 156 157/* Define to 1 if you have the `inet_ntop' function. */ 158#cmakedefine EVENT__HAVE_INET_NTOP 1 159 160/* Define to 1 if you have the `inet_pton' function. */ 161#cmakedefine EVENT__HAVE_INET_PTON 1 162 163/* Define to 1 if you have the <inttypes.h> header file. */ 164#cmakedefine EVENT__HAVE_INTTYPES_H 1 165 166/* Define to 1 if you have the `issetugid' function. */ 167#cmakedefine EVENT__HAVE_ISSETUGID 1 168 169/* Define to 1 if you have the `kqueue' function. */ 170#cmakedefine EVENT__HAVE_KQUEUE 1 171 172/* Define if the system has zlib */ 173#cmakedefine EVENT__HAVE_LIBZ 1 174 175/* Define to 1 if you have the `mach_absolute_time' function. */ 176#cmakedefine EVENT__HAVE_MACH_ABSOLUTE_TIME 1 177 178/* Define to 1 if you have the <mach/mach_time.h> header file. */ 179#cmakedefine EVENT__HAVE_MACH_MACH_TIME_H 1 180 181/* Define to 1 if you have the <mach/mach.h> header file. */ 182#cmakedefine EVENT__HAVE_MACH_MACH_H 1 183 184/* Define to 1 if you have the <memory.h> header file. */ 185#cmakedefine EVENT__HAVE_MEMORY_H 1 186 187/* Define to 1 if you have the `mmap' function. */ 188#cmakedefine EVENT__HAVE_MMAP 1 189 190/* Define to 1 if you have the `nanosleep' function. */ 191#cmakedefine EVENT__HAVE_NANOSLEEP 1 192 193/* Define to 1 if you have the `usleep' function. */ 194#cmakedefine EVENT__HAVE_USLEEP 1 195 196/* Define to 1 if you have the <netinet/in6.h> header file. */ 197#cmakedefine EVENT__HAVE_NETINET_IN6_H 1 198 199/* Define to 1 if you have the <netinet/in.h> header file. */ 200#cmakedefine EVENT__HAVE_NETINET_IN_H 1 201 202/* Define to 1 if you have the <netinet/tcp.h> header file. */ 203#cmakedefine EVENT__HAVE_NETINET_TCP_H 1 204 205/* Define to 1 if you have the <sys/un.h> header file. */ 206#cmakedefine EVENT__HAVE_SYS_UN_H 1 207 208/* Define to 1 if you have the <afunix.h> header file. */ 209#cmakedefine EVENT__HAVE_AFUNIX_H 1 210 211/* Define if the system has openssl */ 212#cmakedefine EVENT__HAVE_OPENSSL 1 213 214/* Define to 1 if you have the `pipe' function. */ 215#cmakedefine EVENT__HAVE_PIPE 1 216 217/* Define to 1 if you have the `pipe2' function. */ 218#cmakedefine EVENT__HAVE_PIPE2 1 219 220/* Define to 1 if you have the `poll' function. */ 221#cmakedefine EVENT__HAVE_POLL 1 222 223/* Define to 1 if you have the <poll.h> header file. */ 224#cmakedefine EVENT__HAVE_POLL_H 1 225 226/* Define to 1 if you have the `port_create' function. */ 227#cmakedefine EVENT__HAVE_PORT_CREATE 1 228 229/* Define to 1 if you have the <port.h> header file. */ 230#cmakedefine EVENT__HAVE_PORT_H 1 231 232/* Define if we have pthreads on this system */ 233#cmakedefine EVENT__HAVE_PTHREADS 1 234 235/* Define to 1 if you have the `putenv' function. */ 236#cmakedefine EVENT__HAVE_PUTENV 1 237 238/* Define to 1 if the system has the type `sa_family_t'. */ 239#cmakedefine EVENT__HAVE_SA_FAMILY_T 1 240 241/* Define to 1 if you have the `select' function. */ 242#cmakedefine EVENT__HAVE_SELECT 1 243 244/* Define to 1 if you have the `setenv' function. */ 245#cmakedefine EVENT__HAVE_SETENV 1 246 247/* Define if F_SETFD is defined in <fcntl.h> */ 248#cmakedefine EVENT__HAVE_SETFD 1 249 250/* Define to 1 if you have the `setrlimit' function. */ 251#cmakedefine EVENT__HAVE_SETRLIMIT 1 252 253/* Define to 1 if you have the `sendfile' function. */ 254#cmakedefine EVENT__HAVE_SENDFILE 1 255 256/* Define to 1 if you have the `sigaction' function. */ 257#cmakedefine EVENT__HAVE_SIGACTION 1 258 259/* Define to 1 if you have the `signal' function. */ 260#cmakedefine EVENT__HAVE_SIGNAL 1 261 262/* Define to 1 if you have the `splice' function. */ 263#cmakedefine EVENT__HAVE_SPLICE 1 264 265/* Define to 1 if you have the <stdarg.h> header file. */ 266#cmakedefine EVENT__HAVE_STDARG_H 1 267 268/* Define to 1 if you have the <stddef.h> header file. */ 269#cmakedefine EVENT__HAVE_STDDEF_H 1 270 271/* Define to 1 if you have the <stdint.h> header file. */ 272#cmakedefine EVENT__HAVE_STDINT_H 1 273 274/* Define to 1 if you have the <stdlib.h> header file. */ 275#cmakedefine EVENT__HAVE_STDLIB_H 1 276 277/* Define to 1 if you have the <string.h> header file. */ 278#cmakedefine EVENT__HAVE_STRING_H 1 279 280/* Define to 1 if you have the `strlcpy' function. */ 281#cmakedefine EVENT__HAVE_STRLCPY 1 282 283/* Define to 1 if you have the `strsep' function. */ 284#cmakedefine EVENT__HAVE_STRSEP 1 285 286/* Define to 1 if you have the `strtok_r' function. */ 287#cmakedefine EVENT__HAVE_STRTOK_R 1 288 289/* Define to 1 if you have the `strtoll' function. */ 290#cmakedefine EVENT__HAVE_STRTOLL 1 291 292/* Define to 1 if you have the `_gmtime64_s' function. */ 293#cmakedefine EVENT__HAVE__GMTIME64_S 1 294 295/* Define to 1 if you have the `_gmtime64' function. */ 296#cmakedefine EVENT__HAVE__GMTIME64 1 297 298/* Define to 1 if the system has the type `struct addrinfo'. */ 299#cmakedefine EVENT__HAVE_STRUCT_ADDRINFO 1 300 301/* Define to 1 if the system has the type `struct in6_addr'. */ 302#cmakedefine EVENT__HAVE_STRUCT_IN6_ADDR 1 303 304/* Define to 1 if `s6_addr16' is member of `struct in6_addr'. */ 305#cmakedefine EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR16 1 306 307/* Define to 1 if `s6_addr32' is member of `struct in6_addr'. */ 308#cmakedefine EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR32 1 309 310/* Define to 1 if the system has the type `struct sockaddr_in6'. */ 311#cmakedefine EVENT__HAVE_STRUCT_SOCKADDR_IN6 1 312 313/* Define to 1 if `sin6_len' is member of `struct sockaddr_in6'. */ 314#cmakedefine EVENT__HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN 1 315 316/* Define to 1 if `sin_len' is member of `struct sockaddr_in'. */ 317#cmakedefine EVENT__HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 318 319/* Define to 1 if the system has the type `struct sockaddr_un'. */ 320#cmakedefine EVENT__HAVE_STRUCT_SOCKADDR_UN 1 321 322/* Define to 1 if the system has the type `struct sockaddr_storage'. */ 323#cmakedefine EVENT__HAVE_STRUCT_SOCKADDR_STORAGE 1 324 325/* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */ 326#cmakedefine EVENT__HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 327 328/* Define to 1 if `__ss_family' is a member of `struct sockaddr_storage'. */ 329#cmakedefine EVENT__HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY 1 330 331/* Define to 1 if the system has the type `struct linger'. */ 332#cmakedefine EVENT__HAVE_STRUCT_LINGER 1 333 334/* Define to 1 if you have the `sysctl' function. */ 335#cmakedefine EVENT__HAVE_SYSCTL 1 336 337/* Define to 1 if you have the <sys/epoll.h> header file. */ 338#cmakedefine EVENT__HAVE_SYS_EPOLL_H 1 339 340/* Define to 1 if you have the <sys/eventfd.h> header file. */ 341#cmakedefine EVENT__HAVE_SYS_EVENTFD_H 1 342 343/* Define to 1 if you have the <sys/event.h> header file. */ 344#cmakedefine EVENT__HAVE_SYS_EVENT_H 1 345 346/* Define to 1 if you have the <sys/ioctl.h> header file. */ 347#cmakedefine EVENT__HAVE_SYS_IOCTL_H 1 348 349/* Define to 1 if you have the <sys/mman.h> header file. */ 350#cmakedefine EVENT__HAVE_SYS_MMAN_H 1 351 352/* Define to 1 if you have the <sys/param.h> header file. */ 353#cmakedefine EVENT__HAVE_SYS_PARAM_H 1 354 355/* Define to 1 if you have the <sys/queue.h> header file. */ 356#cmakedefine EVENT__HAVE_SYS_QUEUE_H 1 357 358/* Define to 1 if you have the <sys/resource.h> header file. */ 359#cmakedefine EVENT__HAVE_SYS_RESOURCE_H 1 360 361/* Define to 1 if you have the <sys/select.h> header file. */ 362#cmakedefine EVENT__HAVE_SYS_SELECT_H 1 363 364/* Define to 1 if you have the <sys/sendfile.h> header file. */ 365#cmakedefine EVENT__HAVE_SYS_SENDFILE_H 1 366 367/* Define to 1 if you have the <sys/socket.h> header file. */ 368#cmakedefine EVENT__HAVE_SYS_SOCKET_H 1 369 370/* Define to 1 if you have the <sys/stat.h> header file. */ 371#cmakedefine EVENT__HAVE_SYS_STAT_H 1 372 373/* Define to 1 if you have the <sys/random.h> header file. */ 374#cmakedefine EVENT__HAVE_SYS_RANDOM_H 1 375 376/* Define to 1 if you have the <sys/sysctl.h> header file. */ 377#cmakedefine EVENT__HAVE_SYS_SYSCTL_H 1 378 379/* Define to 1 if you have the <sys/timerfd.h> header file. */ 380#cmakedefine EVENT__HAVE_SYS_TIMERFD_H 1 381 382/* Define to 1 if you have the <sys/time.h> header file. */ 383#cmakedefine EVENT__HAVE_SYS_TIME_H 1 384 385/* Define to 1 if you have the <sys/types.h> header file. */ 386#cmakedefine EVENT__HAVE_SYS_TYPES_H 1 387 388/* Define to 1 if you have the <sys/uio.h> header file. */ 389#cmakedefine EVENT__HAVE_SYS_UIO_H 1 390 391/* Define to 1 if you have the <sys/wait.h> header file. */ 392#cmakedefine EVENT__HAVE_SYS_WAIT_H 1 393 394/* Define to 1 if you have the <errno.h> header file. */ 395#cmakedefine EVENT__HAVE_ERRNO_H 1 396 397/* Define if TAILQ_FOREACH is defined in <sys/queue.h> */ 398#cmakedefine EVENT__HAVE_TAILQFOREACH 1 399 400/* Define if timeradd is defined in <sys/time.h> */ 401#cmakedefine EVENT__HAVE_TIMERADD 1 402 403/* Define if timerclear is defined in <sys/time.h> */ 404#cmakedefine EVENT__HAVE_TIMERCLEAR 1 405 406/* Define if timercmp is defined in <sys/time.h> */ 407#cmakedefine EVENT__HAVE_TIMERCMP 1 408 409 410/* Define to 1 if you have the `timerfd_create' function. */ 411#cmakedefine EVENT__HAVE_TIMERFD_CREATE 1 412 413/* Define if timerisset is defined in <sys/time.h> */ 414#cmakedefine EVENT__HAVE_TIMERISSET 1 415 416/* Define to 1 if the system has the type `uint8_t'. */ 417#cmakedefine EVENT__HAVE_UINT8_T 1 418 419/* Define to 1 if the system has the type `uint16_t'. */ 420#cmakedefine EVENT__HAVE_UINT16_T 1 421 422/* Define to 1 if the system has the type `uint32_t'. */ 423#cmakedefine EVENT__HAVE_UINT32_T 1 424 425/* Define to 1 if the system has the type `uint64_t'. */ 426#cmakedefine EVENT__HAVE_UINT64_T 1 427 428/* Define to 1 if the system has the type `uintptr_t'. */ 429#cmakedefine EVENT__HAVE_UINTPTR_T 1 430 431/* Define to 1 if you have the `umask' function. */ 432#cmakedefine EVENT__HAVE_UMASK 1 433 434/* Define to 1 if you have the <unistd.h> header file. */ 435#cmakedefine EVENT__HAVE_UNISTD_H 1 436 437/* Define to 1 if you have the `unsetenv' function. */ 438#cmakedefine EVENT__HAVE_UNSETENV 1 439 440/* Define to 1 if you have the `vasprintf' function. */ 441#cmakedefine EVENT__HAVE_VASPRINTF 1 442 443/* Define if kqueue works correctly with pipes */ 444#cmakedefine EVENT__HAVE_WORKING_KQUEUE 1 445 446#ifdef __USE_UNUSED_DEFINITIONS__ 447/* Define to necessary symbol if this constant uses a non-standard name on your system. */ 448/* XXX: Hello, this isn't even used, nor is it defined anywhere... - Ellzey */ 449#define EVENT__PTHREAD_CREATE_JOINABLE ${EVENT__PTHREAD_CREATE_JOINABLE} 450#endif 451 452/* The size of `pthread_t', as computed by sizeof. */ 453#define EVENT__SIZEOF_PTHREAD_T @EVENT__SIZEOF_PTHREAD_T@ 454 455/* The size of a `int', as computed by sizeof. */ 456#define EVENT__SIZEOF_INT @EVENT__SIZEOF_INT@ 457 458/* The size of a `long', as computed by sizeof. */ 459#define EVENT__SIZEOF_LONG @EVENT__SIZEOF_LONG@ 460 461/* The size of a `long long', as computed by sizeof. */ 462#define EVENT__SIZEOF_LONG_LONG @EVENT__SIZEOF_LONG_LONG@ 463 464/* The size of `off_t', as computed by sizeof. */ 465#define EVENT__SIZEOF_OFF_T @EVENT__SIZEOF_OFF_T@ 466 467#define EVENT__SIZEOF_SSIZE_T @EVENT__SIZEOF_SSIZE_T@ 468 469 470/* The size of a `short', as computed by sizeof. */ 471#define EVENT__SIZEOF_SHORT @EVENT__SIZEOF_SHORT@ 472 473/* The size of `size_t', as computed by sizeof. */ 474#define EVENT__SIZEOF_SIZE_T @EVENT__SIZEOF_SIZE_T@ 475 476/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 477#cmakedefine EVENT__TIME_WITH_SYS_TIME 1 478 479/* The size of `socklen_t', as computed by sizeof. */ 480#define EVENT__SIZEOF_SOCKLEN_T @EVENT__SIZEOF_SOCKLEN_T@ 481 482/* The size of 'void *', as computer by sizeof */ 483#define EVENT__SIZEOF_VOID_P @EVENT__SIZEOF_VOID_P@ 484 485/* Define to `__inline__' or `__inline' if that's what the C compiler 486 calls it, or to nothing if 'inline' is not supported under any name. */ 487#ifndef __cplusplus 488/* why not c++? 489 * 490 * and are we really expected to use EVENT__inline everywhere, 491 * shouldn't we just do: 492 * ifdef EVENT__inline 493 * define inline EVENT__inline 494 * 495 * - Ellzey 496 */ 497 498#define EVENT__inline @EVENT__inline@ 499#endif 500 501#cmakedefine EVENT__HAVE___func__ 1 502#cmakedefine EVENT__HAVE___FUNCTION__ 1 503 504/* Define to `unsigned' if <sys/types.h> does not define. */ 505#define EVENT__size_t @EVENT__size_t@ 506 507/* Define to unsigned int if you dont have it */ 508#define EVENT__socklen_t @EVENT__socklen_t@ 509 510/* Define to `int' if <sys/types.h> does not define. */ 511#define EVENT__ssize_t @EVENT__ssize_t@ 512 513#endif /* \EVENT2_EVENT_CONFIG_H_INCLUDED_ */ 514