event-config.h (19101B)
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 * DO NOT EDIT THIS FILE. 7 * 8 * Do not rely on macros in this file existing in later versions. 9 */ 10 11 #ifndef EVENT2_EVENT_CONFIG_H_INCLUDED_ 12 #define EVENT2_EVENT_CONFIG_H_INCLUDED_ 13 14 /* config.h. Generated from config.h.in by configure. */ 15 /* config.h.in. Generated from configure.ac by autoheader. */ 16 17 /* Define if libevent should build without support for a debug mode */ 18 /* #undef EVENT__DISABLE_DEBUG_MODE */ 19 20 /* Define if libevent should not allow replacing the mm functions */ 21 /* #undef EVENT__DISABLE_MM_REPLACEMENT */ 22 23 /* Define if libevent should not be compiled with thread support */ 24 /* #undef EVENT__DISABLE_THREAD_SUPPORT */ 25 26 /* Define to 1 if you have the `accept4' function. */ 27 #define EVENT__HAVE_ACCEPT4 1 28 29 /* Define to 1 if you have the <afunix.h> header file. */ 30 /* #undef EVENT__HAVE_AFUNIX_H */ 31 32 /* Define to 1 if you have the `arc4random' function. */ 33 #define EVENT__HAVE_ARC4RANDOM 1 34 35 /* Define to 1 if you have the `arc4random_addrandom' function. */ 36 #if defined(__DragonFly__) || defined(__NetBSD__) 37 #define EVENT__HAVE_ARC4RANDOM_ADDRANDOM 1 38 #endif 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 #define EVENT__HAVE_DECL_CTL_KERN 1 52 53 /* Define to 1 if you have the declaration of `KERN_ARND', and to 0 if you 54 don't. */ 55 #define EVENT__HAVE_DECL_KERN_ARND 1 56 57 /* Define if /dev/poll is available */ 58 /* #undef EVENT__HAVE_DEVPOLL */ 59 60 /* Define to 1 if you have the <dlfcn.h> header file. */ 61 #define EVENT__HAVE_DLFCN_H 1 62 63 /* Define if your system supports the epoll system calls */ 64 /* #undef EVENT__HAVE_EPOLL */ 65 66 /* Define to 1 if you have the `epoll_create1' function. */ 67 /* #undef EVENT__HAVE_EPOLL_CREATE1 */ 68 69 /* Define to 1 if you have the `epoll_ctl' function. */ 70 /* #undef EVENT__HAVE_EPOLL_CTL */ 71 72 /* Define to 1 if you have the <errno.h> header file. */ 73 #define EVENT__HAVE_ERRNO_H 1 74 75 /* Define to 1 if you have the `eventfd' function. */ 76 /* #undef EVENT__HAVE_EVENTFD */ 77 78 /* Define if your system supports event ports */ 79 /* #undef EVENT__HAVE_EVENT_PORTS */ 80 81 /* Define to 1 if you have the `fcntl' function. */ 82 #define EVENT__HAVE_FCNTL 1 83 84 /* Define to 1 if you have the <fcntl.h> header file. */ 85 #define EVENT__HAVE_FCNTL_H 1 86 87 /* Define to 1 if the system has the type `fd_mask'. */ 88 #define EVENT__HAVE_FD_MASK 1 89 90 /* Do we have getaddrinfo()? */ 91 #define EVENT__HAVE_GETADDRINFO 1 92 93 /* Define to 1 if you have the `getegid' function. */ 94 #define EVENT__HAVE_GETEGID 1 95 96 /* Define to 1 if you have the `geteuid' function. */ 97 #define EVENT__HAVE_GETEUID 1 98 99 /* Define this if you have any gethostbyname_r() */ 100 /* #undef EVENT__HAVE_GETHOSTBYNAME_R */ 101 102 /* Define this if gethostbyname_r takes 3 arguments */ 103 /* #undef EVENT__HAVE_GETHOSTBYNAME_R_3_ARG */ 104 105 /* Define this if gethostbyname_r takes 5 arguments */ 106 /* #undef EVENT__HAVE_GETHOSTBYNAME_R_5_ARG */ 107 108 /* Define this if gethostbyname_r takes 6 arguments */ 109 /* #undef EVENT__HAVE_GETHOSTBYNAME_R_6_ARG */ 110 111 /* Define to 1 if you have the `getifaddrs' function. */ 112 #define EVENT__HAVE_GETIFADDRS 1 113 114 /* Define to 1 if you have the `getnameinfo' function. */ 115 #define EVENT__HAVE_GETNAMEINFO 1 116 117 /* Define to 1 if you have the `getprotobynumber' function. */ 118 #define EVENT__HAVE_GETPROTOBYNUMBER 1 119 120 /* Define to 1 if you have the `getrandom' function. */ 121 #if !defined(__OpenBSD__) 122 #define EVENT__HAVE_GETRANDOM 1 123 #endif 124 125 /* Define to 1 if you have the `getservbyname' function. */ 126 #define EVENT__HAVE_GETSERVBYNAME 1 127 128 /* Define to 1 if you have the `gettimeofday' function. */ 129 #define EVENT__HAVE_GETTIMEOFDAY 1 130 131 /* Define to 1 if you have the <ifaddrs.h> header file. */ 132 #define EVENT__HAVE_IFADDRS_H 1 133 134 /* Define to 1 if you have the `inet_ntop' function. */ 135 #define EVENT__HAVE_INET_NTOP 1 136 137 /* Define to 1 if you have the `inet_pton' function. */ 138 #define EVENT__HAVE_INET_PTON 1 139 140 /* Define to 1 if you have the <inttypes.h> header file. */ 141 #define EVENT__HAVE_INTTYPES_H 1 142 143 /* Define to 1 if you have the `issetugid' function. */ 144 #define EVENT__HAVE_ISSETUGID 1 145 146 /* Define to 1 if you have the `kqueue' function. */ 147 #define EVENT__HAVE_KQUEUE 1 148 149 /* Define to 1 if you have the `ws2_32' library (-lws2_32). */ 150 /* #undef EVENT__HAVE_LIBWS2_32 */ 151 152 /* Define if the system has zlib */ 153 #define EVENT__HAVE_LIBZ 1 154 155 /* Define to 1 if you have the `mach_absolute_time' function. */ 156 /* #undef EVENT__HAVE_MACH_ABSOLUTE_TIME */ 157 158 /* Define to 1 if you have the <mach/mach.h> header file. */ 159 /* #undef EVENT__HAVE_MACH_MACH_H */ 160 161 /* Define to 1 if you have the <mach/mach_time.h> header file. */ 162 /* #undef EVENT__HAVE_MACH_MACH_TIME_H */ 163 164 /* Define to 1 if you have the <memory.h> header file. */ 165 #define EVENT__HAVE_MEMORY_H 1 166 167 /* Define to 1 if you have the `mmap' function. */ 168 #define EVENT__HAVE_MMAP 1 169 170 /* Define to 1 if you have the `nanosleep' function. */ 171 #define EVENT__HAVE_NANOSLEEP 1 172 173 /* Define to 1 if you have the <netdb.h> header file. */ 174 #define EVENT__HAVE_NETDB_H 1 175 176 /* Define to 1 if you have the <netinet/in6.h> header file. */ 177 /* #undef EVENT__HAVE_NETINET_IN6_H */ 178 179 /* Define to 1 if you have the <netinet/in.h> header file. */ 180 #define EVENT__HAVE_NETINET_IN_H 1 181 182 /* Define to 1 if you have the <netinet/tcp.h> header file. */ 183 #define EVENT__HAVE_NETINET_TCP_H 1 184 185 /* Define if the system has openssl */ 186 /* #undef EVENT__HAVE_OPENSSL */ 187 188 /* Define to 1 if you have the <openssl/ssl.h> header file. */ 189 /* #undef EVENT__HAVE_OPENSSL_SSL_H */ 190 191 /* Define to 1 if you have the `pipe' function. */ 192 #define EVENT__HAVE_PIPE 1 193 194 /* Define to 1 if you have the `pipe2' function. */ 195 #define EVENT__HAVE_PIPE2 1 196 197 /* Define to 1 if you have the `poll' function. */ 198 #define EVENT__HAVE_POLL 1 199 200 /* Define to 1 if you have the <poll.h> header file. */ 201 #define EVENT__HAVE_POLL_H 1 202 203 /* Define to 1 if you have the `port_create' function. */ 204 /* #undef EVENT__HAVE_PORT_CREATE */ 205 206 /* Define to 1 if you have the <port.h> header file. */ 207 /* #undef EVENT__HAVE_PORT_H */ 208 209 /* Define if you have POSIX threads libraries and header files. */ 210 /* #undef EVENT__HAVE_PTHREAD */ 211 212 /* Define if we have pthreads on this system */ 213 #define EVENT__HAVE_PTHREADS 1 214 215 /* Define to 1 if you have the `putenv' function. */ 216 #define EVENT__HAVE_PUTENV 1 217 218 /* Define to 1 if the system has the type `sa_family_t'. */ 219 #define EVENT__HAVE_SA_FAMILY_T 1 220 221 /* Define to 1 if you have the `select' function. */ 222 #define EVENT__HAVE_SELECT 1 223 224 /* Define to 1 if you have the `sendfile' function. */ 225 #define EVENT__HAVE_SENDFILE 1 226 227 /* Define to 1 if you have the `setenv' function. */ 228 #define EVENT__HAVE_SETENV 1 229 230 /* Define if F_SETFD is defined in <fcntl.h> */ 231 #define EVENT__HAVE_SETFD 1 232 233 /* Define to 1 if you have the `setrlimit' function. */ 234 #define EVENT__HAVE_SETRLIMIT 1 235 236 /* Define to 1 if you have the `sigaction' function. */ 237 #define EVENT__HAVE_SIGACTION 1 238 239 /* Define to 1 if you have the `signal' function. */ 240 #define EVENT__HAVE_SIGNAL 1 241 242 /* Define to 1 if you have the `splice' function. */ 243 /* #undef EVENT__HAVE_SPLICE */ 244 245 /* Define to 1 if you have the <stdarg.h> header file. */ 246 #define EVENT__HAVE_STDARG_H 1 247 248 /* Define to 1 if you have the <stddef.h> header file. */ 249 #define EVENT__HAVE_STDDEF_H 1 250 251 /* Define to 1 if you have the <stdint.h> header file. */ 252 #define EVENT__HAVE_STDINT_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 /* #undef EVENT__HAVE_SYS_EVENTFD_H */ 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 #if !defined(__OpenBSD__) 340 #define EVENT__HAVE_SYS_RANDOM_H 1 341 #endif 342 343 /* Define to 1 if you have the <sys/resource.h> header file. */ 344 #define EVENT__HAVE_SYS_RESOURCE_H 1 345 346 /* Define to 1 if you have the <sys/select.h> header file. */ 347 #define EVENT__HAVE_SYS_SELECT_H 1 348 349 /* Define to 1 if you have the <sys/sendfile.h> header file. */ 350 /* #undef EVENT__HAVE_SYS_SENDFILE_H */ 351 352 /* Define to 1 if you have the <sys/socket.h> header file. */ 353 #define EVENT__HAVE_SYS_SOCKET_H 1 354 355 /* Define to 1 if you have the <sys/stat.h> header file. */ 356 #define EVENT__HAVE_SYS_STAT_H 1 357 358 /* Define to 1 if you have the <sys/sysctl.h> header file. */ 359 #define EVENT__HAVE_SYS_SYSCTL_H 1 360 361 /* Define to 1 if you have the <sys/timerfd.h> header file. */ 362 /* #undef EVENT__HAVE_SYS_TIMERFD_H */ 363 364 /* Define to 1 if you have the <sys/time.h> header file. */ 365 #define EVENT__HAVE_SYS_TIME_H 1 366 367 /* Define to 1 if you have the <sys/types.h> header file. */ 368 #define EVENT__HAVE_SYS_TYPES_H 1 369 370 /* Define to 1 if you have the <sys/un.h> header file. */ 371 #define EVENT__HAVE_SYS_UN_H 1 372 373 /* Define to 1 if you have the <sys/uio.h> header file. */ 374 #define EVENT__HAVE_SYS_UIO_H 1 375 376 /* Define to 1 if you have the <sys/wait.h> header file. */ 377 #define EVENT__HAVE_SYS_WAIT_H 1 378 379 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */ 380 #define EVENT__HAVE_TAILQFOREACH 1 381 382 /* Define if timeradd is defined in <sys/time.h> */ 383 #define EVENT__HAVE_TIMERADD 1 384 385 /* Define if timerclear is defined in <sys/time.h> */ 386 #define EVENT__HAVE_TIMERCLEAR 1 387 388 /* Define if timercmp is defined in <sys/time.h> */ 389 #define EVENT__HAVE_TIMERCMP 1 390 391 /* Define to 1 if you have the `timerfd_create' function. */ 392 /* #undef EVENT__HAVE_TIMERFD_CREATE */ 393 394 /* Define if timerisset is defined in <sys/time.h> */ 395 #define EVENT__HAVE_TIMERISSET 1 396 397 /* Define to 1 if the system has the type `uint16_t'. */ 398 #define EVENT__HAVE_UINT16_T 1 399 400 /* Define to 1 if the system has the type `uint32_t'. */ 401 #define EVENT__HAVE_UINT32_T 1 402 403 /* Define to 1 if the system has the type `uint64_t'. */ 404 #define EVENT__HAVE_UINT64_T 1 405 406 /* Define to 1 if the system has the type `uint8_t'. */ 407 #define EVENT__HAVE_UINT8_T 1 408 409 /* Define to 1 if the system has the type `uintptr_t'. */ 410 #define EVENT__HAVE_UINTPTR_T 1 411 412 /* Define to 1 if you have the `umask' function. */ 413 #define EVENT__HAVE_UMASK 1 414 415 /* Define to 1 if you have the <unistd.h> header file. */ 416 #define EVENT__HAVE_UNISTD_H 1 417 418 /* Define to 1 if you have the `unsetenv' function. */ 419 #define EVENT__HAVE_UNSETENV 1 420 421 /* Define to 1 if you have the `usleep' function. */ 422 #define EVENT__HAVE_USLEEP 1 423 424 /* Define to 1 if you have the `vasprintf' function. */ 425 #define EVENT__HAVE_VASPRINTF 1 426 427 /* Define if kqueue works correctly with pipes */ 428 #define EVENT__HAVE_WORKING_KQUEUE 1 429 430 /* Define to 1 if you have the <zlib.h> header file. */ 431 #define EVENT__HAVE_ZLIB_H 1 432 433 /* Define to 1 if you have the `_gmtime64' function. */ 434 /* #undef EVENT__HAVE__GMTIME64 */ 435 436 /* Define to 1 if you have the `_gmtime64_s' function. */ 437 /* #undef EVENT__HAVE__GMTIME64_S */ 438 439 /* Define to 1 if compiler have __FUNCTION__ */ 440 #define EVENT__HAVE___FUNCTION__ 1 441 442 /* Define to 1 if compiler have __func__ */ 443 #define EVENT__HAVE___func__ 1 444 445 /* Define to the sub-directory where libtool stores uninstalled libraries. */ 446 #define EVENT__LT_OBJDIR ".libs/" 447 448 /* Numeric representation of the version */ 449 #define EVENT__NUMERIC_VERSION 0x02010c00 450 451 /* Name of package */ 452 #define EVENT__PACKAGE "libevent" 453 454 /* Define to the address where bug reports for this package should be sent. */ 455 #define EVENT__PACKAGE_BUGREPORT "" 456 457 /* Define to the full name of this package. */ 458 #define EVENT__PACKAGE_NAME "libevent" 459 460 /* Define to the full name and version of this package. */ 461 #define EVENT__PACKAGE_STRING "libevent 2.1.12-stable" 462 463 /* Define to the one symbol short name of this package. */ 464 #define EVENT__PACKAGE_TARNAME "libevent" 465 466 /* Define to the home page for this package. */ 467 #define EVENT__PACKAGE_URL "" 468 469 /* Define to the version of this package. */ 470 #define EVENT__PACKAGE_VERSION "2.1.12-stable" 471 472 /* Define to necessary symbol if this constant uses a non-standard name on 473 your system. */ 474 /* #undef EVENT__PTHREAD_CREATE_JOINABLE */ 475 476 /* ------------------------------------------------------------------------ */ 477 /* MOZILLA NOTE: the following constants are hand-modified to be suitable */ 478 /* for both 32-bit and 64-bit platforms. See README.mozilla for details. */ 479 /* ------------------------------------------------------------------------ */ 480 481 /* The size of `int', as computed by sizeof. */ 482 #define EVENT__SIZEOF_INT 4 483 484 /* The size of `long', as computed by sizeof. */ 485 #ifdef __LP64__ 486 #define EVENT__SIZEOF_LONG 8 487 #else 488 #define EVENT__SIZEOF_LONG 4 489 #endif 490 491 /* The size of `long long', as computed by sizeof. */ 492 #define EVENT__SIZEOF_LONG_LONG 8 493 494 /* The size of `off_t', as computed by sizeof. */ 495 #define EVENT__SIZEOF_OFF_T 8 496 497 /* The size of `pthread_t', as computed by sizeof. */ 498 #ifdef __LP64__ 499 #define EVENT__SIZEOF_PTHREAD_T 8 500 #else 501 #define EVENT__SIZEOF_PTHREAD_T 4 502 #endif 503 504 /* The size of `short', as computed by sizeof. */ 505 #define EVENT__SIZEOF_SHORT 2 506 507 /* The size of `size_t', as computed by sizeof. */ 508 #ifdef __LP64__ 509 #define EVENT__SIZEOF_SIZE_T 8 510 #else 511 #define EVENT__SIZEOF_SIZE_T 4 512 #endif 513 514 /* ------------------------------------------------------------------------------------- */ 515 /* MOZILLA NOTE: some BSD system increased time_t size from 32-bit to 64-bit */ 516 /* OpenBSD https://www.openbsd.org/55.html */ 517 /* NetBSD https://man.netbsd.org/NetBSD-9.1/time.3 */ 518 /* FreeBSD/powerpc https://lists.freebsd.org/pipermail/freebsd-ppc/2017-June/008907.html */ 519 /* ------------------------------------------------------------------------------------- */ 520 /* The size of `time_t', as computed by sizeof. */ 521 #if defined(__LP64__) || defined(__OpenBSD__) || defined(__NetBSD__) || (defined(__FreeBSD__) && !defined(__i386__)) 522 #define EVENT__SIZEOF_TIME_T 8 523 #else 524 #define EVENT__SIZEOF_TIME_T 4 525 #endif 526 527 /* The size of `void *', as computed by sizeof. */ 528 #ifdef __LP64__ 529 #define EVENT__SIZEOF_VOID_P 8 530 #else 531 #define EVENT__SIZEOF_VOID_P 4 532 #endif 533 534 /* ------------------------------------------------------------------------ */ 535 /* END MOZILLA NOTE */ 536 /* ------------------------------------------------------------------------ */ 537 538 /* Define to 1 if you have the ANSI C header files. */ 539 #define STDC_HEADERS 1 540 541 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 542 #define EVENT__TIME_WITH_SYS_TIME 1 543 544 /* Enable extensions on AIX 3, Interix. */ 545 #ifndef _ALL_SOURCE 546 # define _ALL_SOURCE 1 547 #endif 548 /* Enable GNU extensions on systems that have them. */ 549 #ifndef _GNU_SOURCE 550 # define _GNU_SOURCE 1 551 #endif 552 /* Enable threading extensions on Solaris. */ 553 #ifndef _POSIX_PTHREAD_SEMANTICS 554 # define _POSIX_PTHREAD_SEMANTICS 1 555 #endif 556 /* Enable extensions on HP NonStop. */ 557 #ifndef _TANDEM_SOURCE 558 # define _TANDEM_SOURCE 1 559 #endif 560 /* Enable general extensions on Solaris. */ 561 #ifndef __EXTENSIONS__ 562 # define __EXTENSIONS__ 1 563 #endif 564 565 566 /* Version number of package */ 567 #define EVENT__VERSION "2.1.12-stable" 568 569 /* Enable large inode numbers on Mac OS X 10.5. */ 570 #ifndef _DARWIN_USE_64_BIT_INODE 571 # define _DARWIN_USE_64_BIT_INODE 1 572 #endif 573 574 /* Number of bits in a file offset, on hosts where this is settable. */ 575 /* #undef _FILE_OFFSET_BITS */ 576 577 /* Define for large files, on AIX-style hosts. */ 578 /* #undef _LARGE_FILES */ 579 580 /* Define to 1 if on MINIX. */ 581 /* #undef _MINIX */ 582 583 /* Define to 2 if the system does not provide POSIX.1 features except with 584 this defined. */ 585 /* #undef _POSIX_1_SOURCE */ 586 587 /* Define to 1 if you need to in order for `stat' and other things to work. */ 588 /* #undef _POSIX_SOURCE */ 589 590 /* Define to appropriate substitue if compiler doesnt have __func__ */ 591 /* #undef __func__ */ 592 593 /* Define to empty if `const' does not conform to ANSI C. */ 594 /* #undef const */ 595 596 /* Define to `__inline__' or `__inline' if that's what the C compiler 597 calls it, or to nothing if 'inline' is not supported under any name. */ 598 #ifndef __cplusplus 599 /* #undef inline */ 600 #endif 601 602 /* Define to `int' if <sys/types.h> does not define. */ 603 /* #undef pid_t */ 604 605 /* Define to `unsigned int' if <sys/types.h> does not define. */ 606 /* #undef size_t */ 607 608 /* Define to unsigned int if you dont have it */ 609 /* #undef socklen_t */ 610 611 /* Define to `int' if <sys/types.h> does not define. */ 612 /* #undef ssize_t */ 613 614 #endif /* event2/event-config.h */