1 /* $NetBSD: event-config.h,v 1.7 2026/07/08 14:27:14 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 12 #ifndef EVENT2_EVENT_CONFIG_H_INCLUDED_ 13 #define EVENT2_EVENT_CONFIG_H_INCLUDED_ 14 15 /* config.h. Generated from config.h.in by configure. */ 16 /* config.h.in. Generated from configure.ac by autoheader. */ 17 18 /* Define if libevent should build without support for a debug mode */ 19 /* #undef EVENT__DISABLE_DEBUG_MODE */ 20 21 /* Define if libevent should not allow replacing the mm functions */ 22 /* #undef EVENT__DISABLE_MM_REPLACEMENT */ 23 24 /* Define if libevent should not be compiled with thread support */ 25 /* #undef EVENT__DISABLE_THREAD_SUPPORT */ 26 27 /* Define to 1 if you have the 'accept4' function. */ 28 #define EVENT__HAVE_ACCEPT4 1 29 30 /* Define to 1 if you have the <afunix.h> header file. */ 31 /* #undef EVENT__HAVE_AFUNIX_H */ 32 33 /* Define to 1 if you have the 'arc4random' function. */ 34 #define EVENT__HAVE_ARC4RANDOM 1 35 36 /* Define to 1 if you have the 'arc4random_addrandom' function. */ 37 #define EVENT__HAVE_ARC4RANDOM_ADDRANDOM 1 38 39 /* Define to 1 if you have the 'arc4random_buf' function. */ 40 #define EVENT__HAVE_ARC4RANDOM_BUF 1 41 42 /* Define to 1 if you have the <arpa/inet.h> header file. */ 43 #define EVENT__HAVE_ARPA_INET_H 1 44 45 /* Define to 1 if you have the 'clock_gettime' function. */ 46 #define EVENT__HAVE_CLOCK_GETTIME 1 47 48 /* Define to 1 if you have the declaration of 'CTL_KERN', and to 0 if you 49 don't. */ 50 #define EVENT__HAVE_DECL_CTL_KERN 1 51 52 /* Define to 1 if you have the declaration of 'KERN_ARND', and to 0 if you 53 don't. */ 54 #define EVENT__HAVE_DECL_KERN_ARND 1 55 56 /* Define if /dev/poll is available */ 57 /* #undef EVENT__HAVE_DEVPOLL */ 58 59 /* Define to 1 if you have the <dlfcn.h> header file. */ 60 #define EVENT__HAVE_DLFCN_H 1 61 62 /* Define if your system supports the epoll system calls */ 63 /* #undef EVENT__HAVE_EPOLL */ 64 65 /* Define to 1 if you have the 'epoll_create1' function. */ 66 /* #undef EVENT__HAVE_EPOLL_CREATE1 */ 67 68 /* Define to 1 if you have the 'epoll_ctl' function. */ 69 /* #undef EVENT__HAVE_EPOLL_CTL */ 70 71 /* Define to 1 if you have the <errno.h> header file. */ 72 #define EVENT__HAVE_ERRNO_H 1 73 74 /* Define to 1 if you have the 'eventfd' function. */ 75 #define EVENT__HAVE_EVENTFD 1 76 77 /* Define if your system supports event ports */ 78 /* #undef EVENT__HAVE_EVENT_PORTS */ 79 80 /* Define to 1 if you have the 'fcntl' function. */ 81 #define EVENT__HAVE_FCNTL 1 82 83 /* Define to 1 if you have the <fcntl.h> header file. */ 84 #define EVENT__HAVE_FCNTL_H 1 85 86 /* Define to 1 if the system has the type 'fd_mask'. */ 87 #define EVENT__HAVE_FD_MASK 1 88 89 /* Do we have getaddrinfo()? */ 90 #define EVENT__HAVE_GETADDRINFO 1 91 92 /* Define to 1 if you have the 'getegid' function. */ 93 #define EVENT__HAVE_GETEGID 1 94 95 /* Define to 1 if you have the 'geteuid' function. */ 96 #define EVENT__HAVE_GETEUID 1 97 98 /* Define this if you have any gethostbyname_r() */ 99 /* #undef EVENT__HAVE_GETHOSTBYNAME_R */ 100 101 /* Define this if gethostbyname_r takes 3 arguments */ 102 /* #undef EVENT__HAVE_GETHOSTBYNAME_R_3_ARG */ 103 104 /* Define this if gethostbyname_r takes 5 arguments */ 105 /* #undef EVENT__HAVE_GETHOSTBYNAME_R_5_ARG */ 106 107 /* Define this if gethostbyname_r takes 6 arguments */ 108 /* #undef EVENT__HAVE_GETHOSTBYNAME_R_6_ARG */ 109 110 /* Define to 1 if you have the 'getifaddrs' function. */ 111 #define EVENT__HAVE_GETIFADDRS 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 'getrandom' function. */ 120 #define EVENT__HAVE_GETRANDOM 1 121 122 /* Define to 1 if you have the 'getservbyname' function. */ 123 #define EVENT__HAVE_GETSERVBYNAME 1 124 125 /* Define to 1 if you have the 'gettimeofday' function. */ 126 #define EVENT__HAVE_GETTIMEOFDAY 1 127 128 /* Define to 1 if you have the <ifaddrs.h> header file. */ 129 #define EVENT__HAVE_IFADDRS_H 1 130 131 /* Define to 1 if you have the 'inet_ntop' function. */ 132 #define EVENT__HAVE_INET_NTOP 1 133 134 /* Define to 1 if you have the 'inet_pton' function. */ 135 #define EVENT__HAVE_INET_PTON 1 136 137 /* Define to 1 if you have the <inttypes.h> header file. */ 138 #define EVENT__HAVE_INTTYPES_H 1 139 140 /* Define to 1 if you have the 'issetugid' function. */ 141 #define EVENT__HAVE_ISSETUGID 1 142 143 /* Define to 1 if you have the 'kqueue' function. */ 144 #define EVENT__HAVE_KQUEUE 1 145 146 /* Define to 1 if you have the 'ws2_32' library (-lws2_32). */ 147 /* #undef EVENT__HAVE_LIBWS2_32 */ 148 149 /* Define if the system has zlib */ 150 #define EVENT__HAVE_LIBZ 1 151 152 /* Define to 1 if you have the 'mach_absolute_time' function. */ 153 /* #undef EVENT__HAVE_MACH_ABSOLUTE_TIME */ 154 155 /* Define to 1 if you have the <mach/mach.h> header file. */ 156 /* #undef EVENT__HAVE_MACH_MACH_H */ 157 158 /* Define to 1 if you have the <mach/mach_time.h> header file. */ 159 /* #undef EVENT__HAVE_MACH_MACH_TIME_H */ 160 161 /* Define to 1 if you have the <minix/config.h> header file. */ 162 /* #undef EVENT__HAVE_MINIX_CONFIG_H */ 163 164 /* Define to 1 if you have the 'mmap' function. */ 165 #define EVENT__HAVE_MMAP 1 166 167 /* Define to 1 if you have the 'nanosleep' function. */ 168 #define EVENT__HAVE_NANOSLEEP 1 169 170 /* Define to 1 if you have the <netdb.h> header file. */ 171 #define EVENT__HAVE_NETDB_H 1 172 173 /* Define to 1 if you have the <netinet/in6.h> header file. */ 174 /* #undef EVENT__HAVE_NETINET_IN6_H */ 175 176 /* Define to 1 if you have the <netinet/in.h> header file. */ 177 #define EVENT__HAVE_NETINET_IN_H 1 178 179 /* Define to 1 if you have the <netinet/tcp.h> header file. */ 180 #define EVENT__HAVE_NETINET_TCP_H 1 181 182 /* Define if the system has openssl */ 183 #define EVENT__HAVE_OPENSSL 1 184 185 /* Define to 1 if you have the <openssl/ssl.h> header file. */ 186 #define EVENT__HAVE_OPENSSL_SSL_H 1 187 188 /* Define to 1 if you have the 'pipe' function. */ 189 #define EVENT__HAVE_PIPE 1 190 191 /* Define to 1 if you have the 'pipe2' function. */ 192 #define EVENT__HAVE_PIPE2 1 193 194 /* Define to 1 if you have the 'poll' function. */ 195 #define EVENT__HAVE_POLL 1 196 197 /* Define to 1 if you have the <poll.h> header file. */ 198 #define EVENT__HAVE_POLL_H 1 199 200 /* Define to 1 if you have the 'port_create' function. */ 201 /* #undef EVENT__HAVE_PORT_CREATE */ 202 203 /* Define to 1 if you have the <port.h> header file. */ 204 /* #undef EVENT__HAVE_PORT_H */ 205 206 /* Define if you have POSIX threads libraries and header files. */ 207 /* #undef EVENT__HAVE_PTHREAD */ 208 209 /* Define if we have pthreads on this system */ 210 #define EVENT__HAVE_PTHREADS 1 211 212 /* Define to 1 if you have the 'putenv' function. */ 213 #define EVENT__HAVE_PUTENV 1 214 215 /* Define to 1 if the system has the type 'sa_family_t'. */ 216 #define EVENT__HAVE_SA_FAMILY_T 1 217 218 /* Define to 1 if you have the 'select' function. */ 219 #define EVENT__HAVE_SELECT 1 220 221 /* Define to 1 if you have the 'sendfile' function. */ 222 /* #undef EVENT__HAVE_SENDFILE */ 223 224 /* Define to 1 if you have the 'setenv' function. */ 225 #define EVENT__HAVE_SETENV 1 226 227 /* Define if F_SETFD is defined in <fcntl.h> */ 228 #define EVENT__HAVE_SETFD 1 229 230 /* Define to 1 if you have the 'setrlimit' function. */ 231 #define EVENT__HAVE_SETRLIMIT 1 232 233 /* Define to 1 if you have the 'sigaction' function. */ 234 #define EVENT__HAVE_SIGACTION 1 235 236 /* Define to 1 if you have the 'signal' function. */ 237 #define EVENT__HAVE_SIGNAL 1 238 239 /* Define to 1 if you have the 'splice' function. */ 240 /* #undef EVENT__HAVE_SPLICE */ 241 242 /* Define to 1 if you have the <stdarg.h> header file. */ 243 #define EVENT__HAVE_STDARG_H 1 244 245 /* Define to 1 if you have the <stddef.h> header file. */ 246 #define EVENT__HAVE_STDDEF_H 1 247 248 /* Define to 1 if you have the <stdint.h> header file. */ 249 #define EVENT__HAVE_STDINT_H 1 250 251 /* Define to 1 if you have the <stdio.h> header file. */ 252 #define EVENT__HAVE_STDIO_H 1 253 254 /* Define to 1 if you have the <stdlib.h> header file. */ 255 #define EVENT__HAVE_STDLIB_H 1 256 257 /* Define to 1 if you have the <strings.h> header file. */ 258 #define EVENT__HAVE_STRINGS_H 1 259 260 /* Define to 1 if you have the <string.h> header file. */ 261 #define EVENT__HAVE_STRING_H 1 262 263 /* Define to 1 if you have the 'strlcpy' function. */ 264 #define EVENT__HAVE_STRLCPY 1 265 266 /* Define to 1 if you have the 'strsep' function. */ 267 #define EVENT__HAVE_STRSEP 1 268 269 /* Define to 1 if you have the 'strtok_r' function. */ 270 #define EVENT__HAVE_STRTOK_R 1 271 272 /* Define to 1 if you have the 'strtoll' function. */ 273 #define EVENT__HAVE_STRTOLL 1 274 275 /* Define to 1 if the system has the type 'struct addrinfo'. */ 276 #define EVENT__HAVE_STRUCT_ADDRINFO 1 277 278 /* Define to 1 if the system has the type 'struct in6_addr'. */ 279 #define EVENT__HAVE_STRUCT_IN6_ADDR 1 280 281 /* Define to 1 if 's6_addr16' is a member of 'struct in6_addr'. */ 282 /* #undef EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR16 */ 283 284 /* Define to 1 if 's6_addr32' is a member of 'struct in6_addr'. */ 285 /* #undef EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR32 */ 286 287 /* Define to 1 if the system has the type 'struct linger'. */ 288 #define EVENT__HAVE_STRUCT_LINGER 1 289 290 /* Define to 1 if the system has the type 'struct sockaddr_in6'. */ 291 #define EVENT__HAVE_STRUCT_SOCKADDR_IN6 1 292 293 /* Define to 1 if 'sin6_len' is a member of 'struct sockaddr_in6'. */ 294 #define EVENT__HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN 1 295 296 /* Define to 1 if 'sin_len' is a member of 'struct sockaddr_in'. */ 297 #define EVENT__HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 298 299 /* Define to 1 if the system has the type 'struct sockaddr_storage'. */ 300 #define EVENT__HAVE_STRUCT_SOCKADDR_STORAGE 1 301 302 /* Define to 1 if 'ss_family' is a member of 'struct sockaddr_storage'. */ 303 #define EVENT__HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 304 305 /* Define to 1 if '__ss_family' is a member of 'struct sockaddr_storage'. */ 306 /* #undef EVENT__HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY */ 307 308 /* Define to 1 if the system has the type 'struct sockaddr_un'. */ 309 #define EVENT__HAVE_STRUCT_SOCKADDR_UN 1 310 311 /* Define to 1 if you have the 'sysctl' function. */ 312 #define EVENT__HAVE_SYSCTL 1 313 314 /* Define to 1 if you have the <sys/devpoll.h> header file. */ 315 /* #undef EVENT__HAVE_SYS_DEVPOLL_H */ 316 317 /* Define to 1 if you have the <sys/epoll.h> header file. */ 318 /* #undef EVENT__HAVE_SYS_EPOLL_H */ 319 320 /* Define to 1 if you have the <sys/eventfd.h> header file. */ 321 #define EVENT__HAVE_SYS_EVENTFD_H 1 322 323 /* Define to 1 if you have the <sys/event.h> header file. */ 324 #define EVENT__HAVE_SYS_EVENT_H 1 325 326 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 327 #define EVENT__HAVE_SYS_IOCTL_H 1 328 329 /* Define to 1 if you have the <sys/mman.h> header file. */ 330 #define EVENT__HAVE_SYS_MMAN_H 1 331 332 /* Define to 1 if you have the <sys/param.h> header file. */ 333 #define EVENT__HAVE_SYS_PARAM_H 1 334 335 /* Define to 1 if you have the <sys/queue.h> header file. */ 336 #define EVENT__HAVE_SYS_QUEUE_H 1 337 338 /* Define to 1 if you have the <sys/random.h> header file. */ 339 #define EVENT__HAVE_SYS_RANDOM_H 1 340 341 /* Define to 1 if you have the <sys/resource.h> header file. */ 342 #define EVENT__HAVE_SYS_RESOURCE_H 1 343 344 /* Define to 1 if you have the <sys/select.h> header file. */ 345 #define EVENT__HAVE_SYS_SELECT_H 1 346 347 /* Define to 1 if you have the <sys/sendfile.h> header file. */ 348 /* #undef EVENT__HAVE_SYS_SENDFILE_H */ 349 350 /* Define to 1 if you have the <sys/socket.h> header file. */ 351 #define EVENT__HAVE_SYS_SOCKET_H 1 352 353 /* Define to 1 if you have the <sys/stat.h> header file. */ 354 #define EVENT__HAVE_SYS_STAT_H 1 355 356 /* Define to 1 if you have the <sys/sysctl.h> header file. */ 357 #define EVENT__HAVE_SYS_SYSCTL_H 1 358 359 /* Define to 1 if you have the <sys/timerfd.h> header file. */ 360 #define EVENT__HAVE_SYS_TIMERFD_H 1 361 362 /* Define to 1 if you have the <sys/time.h> header file. */ 363 #define EVENT__HAVE_SYS_TIME_H 1 364 365 /* Define to 1 if you have the <sys/types.h> header file. */ 366 #define EVENT__HAVE_SYS_TYPES_H 1 367 368 /* Define to 1 if you have the <sys/uio.h> header file. */ 369 #define EVENT__HAVE_SYS_UIO_H 1 370 371 /* Define to 1 if you have the <sys/un.h> header file. */ 372 #define EVENT__HAVE_SYS_UN_H 1 373 374 /* Define to 1 if you have the <sys/wait.h> header file. */ 375 #define EVENT__HAVE_SYS_WAIT_H 1 376 377 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */ 378 #define EVENT__HAVE_TAILQFOREACH 1 379 380 /* Define if timeradd is defined in <sys/time.h> */ 381 #define EVENT__HAVE_TIMERADD 1 382 383 /* Define if timerclear is defined in <sys/time.h> */ 384 #define EVENT__HAVE_TIMERCLEAR 1 385 386 /* Define if timercmp is defined in <sys/time.h> */ 387 #define EVENT__HAVE_TIMERCMP 1 388 389 /* Define to 1 if you have the 'timerfd_create' function. */ 390 #define EVENT__HAVE_TIMERFD_CREATE 1 391 392 /* Define if timerisset is defined in <sys/time.h> */ 393 #define EVENT__HAVE_TIMERISSET 1 394 395 /* Define to 1 if the system has the type 'uint16_t'. */ 396 #define EVENT__HAVE_UINT16_T 1 397 398 /* Define to 1 if the system has the type 'uint32_t'. */ 399 #define EVENT__HAVE_UINT32_T 1 400 401 /* Define to 1 if the system has the type 'uint64_t'. */ 402 #define EVENT__HAVE_UINT64_T 1 403 404 /* Define to 1 if the system has the type 'uint8_t'. */ 405 #define EVENT__HAVE_UINT8_T 1 406 407 /* Define to 1 if the system has the type 'uintptr_t'. */ 408 #define EVENT__HAVE_UINTPTR_T 1 409 410 /* Define to 1 if you have the 'umask' function. */ 411 #define EVENT__HAVE_UMASK 1 412 413 /* Define to 1 if you have the <unistd.h> header file. */ 414 #define EVENT__HAVE_UNISTD_H 1 415 416 /* Define to 1 if you have the 'unsetenv' function. */ 417 #define EVENT__HAVE_UNSETENV 1 418 419 /* Define to 1 if you have the 'usleep' function. */ 420 #define EVENT__HAVE_USLEEP 1 421 422 /* Define to 1 if you have the 'vasprintf' function. */ 423 #define EVENT__HAVE_VASPRINTF 1 424 425 /* Define to 1 if you have the <wchar.h> header file. */ 426 #define EVENT__HAVE_WCHAR_H 1 427 428 /* Define if kqueue works correctly with pipes */ 429 #define EVENT__HAVE_WORKING_KQUEUE 1 430 431 /* Define to 1 if you have the <zlib.h> header file. */ 432 #define EVENT__HAVE_ZLIB_H 1 433 434 /* Define to 1 if you have the '_gmtime64' function. */ 435 /* #undef EVENT__HAVE__GMTIME64 */ 436 437 /* Define to 1 if you have the '_gmtime64_s' function. */ 438 /* #undef EVENT__HAVE__GMTIME64_S */ 439 440 /* Define to 1 if compiler have __FUNCTION__ */ 441 #define EVENT__HAVE___FUNCTION__ 1 442 443 /* Define to 1 if compiler have __func__ */ 444 #define EVENT__HAVE___func__ 1 445 446 /* Define to the sub-directory where libtool stores uninstalled libraries. */ 447 #define EVENT__LT_OBJDIR ".libs/" 448 449 /* Numeric representation of the version */ 450 #define EVENT__NUMERIC_VERSION 0x02010d00 451 452 /* Name of package */ 453 #define EVENT__PACKAGE "libevent" 454 455 /* Define to the address where bug reports for this package should be sent. */ 456 #define EVENT__PACKAGE_BUGREPORT "" 457 458 /* Define to the full name of this package. */ 459 #define EVENT__PACKAGE_NAME "libevent" 460 461 /* Define to the full name and version of this package. */ 462 #define EVENT__PACKAGE_STRING "libevent 2.1.13-stable" 463 464 /* Define to the one symbol short name of this package. */ 465 #define EVENT__PACKAGE_TARNAME "libevent" 466 467 /* Define to the home page for this package. */ 468 #define EVENT__PACKAGE_URL "" 469 470 /* Define to the version of this package. */ 471 #define EVENT__PACKAGE_VERSION "2.1.13-stable" 472 473 /* Define to necessary symbol if this constant uses a non-standard name on 474 your system. */ 475 /* #undef EVENT__PTHREAD_CREATE_JOINABLE */ 476 477 /* The size of 'int', as computed by sizeof. */ 478 #define EVENT__SIZEOF_INT 4 479 480 /* The size of 'long', as computed by sizeof. */ 481 #ifdef _LP64 482 #define EVENT__SIZEOF_LONG 8 483 #else 484 #define EVENT__SIZEOF_LONG 4 485 #endif 486 487 /* The size of 'long long', as computed by sizeof. */ 488 #define EVENT__SIZEOF_LONG_LONG 8 489 490 /* The size of 'off_t', as computed by sizeof. */ 491 #define EVENT__SIZEOF_OFF_T 8 492 493 /* The size of 'pthread_t', as computed by sizeof. */ 494 #ifdef _LP64 495 #define EVENT__SIZEOF_PTHREAD_T 8 496 #else 497 #define EVENT__SIZEOF_PTHREAD_T 4 498 #endif 499 500 /* The size of 'short', as computed by sizeof. */ 501 #define EVENT__SIZEOF_SHORT 2 502 503 /* The size of 'size_t', as computed by sizeof. */ 504 #ifdef _LP64 505 #define EVENT__SIZEOF_SIZE_T 8 506 #else 507 #define EVENT__SIZEOF_SIZE_T 4 508 #endif 509 510 /* The size of 'time_t', as computed by sizeof. */ 511 #define EVENT__SIZEOF_TIME_T 8 512 513 /* The size of 'void *', as computed by sizeof. */ 514 #ifdef _LP64 515 #define EVENT__SIZEOF_VOID_P 8 516 #else 517 #define EVENT__SIZEOF_VOID_P 4 518 #endif 519 520 /* Define to 1 if all of the C89 standard headers exist (not just the ones 521 required in a freestanding environment). This macro is provided for 522 backward compatibility; new code need not use it. */ 523 #define STDC_HEADERS 1 524 525 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. This 526 macro is obsolete. */ 527 #define EVENT__TIME_WITH_SYS_TIME 1 528 529 /* Enable extensions on AIX, Interix, z/OS. */ 530 #ifndef _ALL_SOURCE 531 # define _ALL_SOURCE 1 532 #endif 533 /* Enable general extensions on macOS. */ 534 #ifndef _DARWIN_C_SOURCE 535 # define _DARWIN_C_SOURCE 1 536 #endif 537 /* Enable general extensions on Solaris. */ 538 #ifndef __EXTENSIONS__ 539 # define __EXTENSIONS__ 1 540 #endif 541 /* Enable GNU extensions on systems that have them. */ 542 #ifndef _GNU_SOURCE 543 # define _GNU_SOURCE 1 544 #endif 545 /* Enable X/Open compliant socket functions that do not require linking 546 with -lxnet on HP-UX 11.11. */ 547 #ifndef _HPUX_ALT_XOPEN_SOCKET_API 548 # define _HPUX_ALT_XOPEN_SOCKET_API 1 549 #endif 550 /* Identify the host operating system as Minix. 551 This macro does not affect the system headers' behavior. 552 A future release of Autoconf may stop defining this macro. */ 553 #ifndef _MINIX 554 /* # undef _MINIX */ 555 #endif 556 /* Enable general extensions on NetBSD. 557 Enable NetBSD compatibility extensions on Minix. */ 558 #ifndef _NETBSD_SOURCE 559 # define _NETBSD_SOURCE 1 560 #endif 561 /* Enable OpenBSD compatibility extensions on NetBSD. 562 Oddly enough, this does nothing on OpenBSD. */ 563 #ifndef _OPENBSD_SOURCE 564 # define _OPENBSD_SOURCE 1 565 #endif 566 /* Define to 1 if needed for POSIX-compatible behavior. */ 567 #ifndef _POSIX_SOURCE 568 /* # undef _POSIX_SOURCE */ 569 #endif 570 /* Define to 2 if needed for POSIX-compatible behavior. */ 571 #ifndef _POSIX_1_SOURCE 572 /* # undef _POSIX_1_SOURCE */ 573 #endif 574 /* Enable POSIX-compatible threading on Solaris. */ 575 #ifndef _POSIX_PTHREAD_SEMANTICS 576 # define _POSIX_PTHREAD_SEMANTICS 1 577 #endif 578 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ 579 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 580 # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 581 #endif 582 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ 583 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ 584 # define __STDC_WANT_IEC_60559_BFP_EXT__ 1 585 #endif 586 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ 587 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ 588 # define __STDC_WANT_IEC_60559_DFP_EXT__ 1 589 #endif 590 /* Enable extensions specified by C23 Annex F. */ 591 #ifndef __STDC_WANT_IEC_60559_EXT__ 592 # define __STDC_WANT_IEC_60559_EXT__ 1 593 #endif 594 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ 595 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ 596 # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 597 #endif 598 /* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ 599 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ 600 # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 601 #endif 602 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ 603 #ifndef __STDC_WANT_LIB_EXT2__ 604 # define __STDC_WANT_LIB_EXT2__ 1 605 #endif 606 /* Enable extensions specified by ISO/IEC 24747:2009. */ 607 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ 608 # define __STDC_WANT_MATH_SPEC_FUNCS__ 1 609 #endif 610 /* Enable extensions on HP NonStop. */ 611 #ifndef _TANDEM_SOURCE 612 # define _TANDEM_SOURCE 1 613 #endif 614 /* Enable X/Open extensions. Define to 500 only if necessary 615 to make mbstate_t available. */ 616 #ifndef _XOPEN_SOURCE 617 /* # undef _XOPEN_SOURCE */ 618 #endif 619 620 621 /* Version number of package */ 622 #define EVENT__VERSION "2.1.13-stable" 623 624 /* Number of bits in a file offset, on hosts where this is settable. */ 625 /* #undef _FILE_OFFSET_BITS */ 626 627 /* Define to 1 on platforms where this makes off_t a 64-bit type. */ 628 /* #undef _LARGE_FILES */ 629 630 /* Number of bits in time_t, on hosts where this is settable. */ 631 /* #undef _TIME_BITS */ 632 633 /* Define to 1 on platforms where this makes time_t a 64-bit type. */ 634 /* #undef __MINGW_USE_VC2005_COMPAT */ 635 636 /* Define to empty if 'const' does not conform to ANSI C. */ 637 /* #undef const */ 638 639 /* Define to '__inline__' or '__inline' if that's what the C compiler 640 calls it, or to nothing if 'inline' is not supported under any name. */ 641 #ifndef __cplusplus 642 /* #undef inline */ 643 #endif 644 645 /* Define as a signed integer type capable of holding a process identifier. */ 646 /* #undef pid_t */ 647 648 /* Define as 'unsigned int' if <stddef.h> doesn't define. */ 649 /* #undef size_t */ 650 651 /* Define to unsigned int if you dont have it */ 652 /* #undef socklen_t */ 653 654 /* Define to 'int' if <sys/types.h> does not define. */ 655 /* #undef ssize_t */ 656 657 #endif /* event2/event-config.h */ 658