1/* $FreeBSD$ */ 2 3/* include/arch/unix/apr_private.h. Generated from apr_private.h.in by configure. */ 4/* include/arch/unix/apr_private.h.in. Generated from configure.in by autoheader. */ 5 6 7#ifndef APR_PRIVATE_H 8#define APR_PRIVATE_H 9 10 11/* Define if building universal (internal helper macro) */ 12/* #undef AC_APPLE_UNIVERSAL_BUILD */ 13 14/* Define if apr_allocator should use guard pages */ 15/* #undef APR_ALLOCATOR_GUARD_PAGES */ 16 17/* Define if apr_allocator should use mmap */ 18/* #undef APR_ALLOCATOR_USES_MMAP */ 19 20/* Define as function which can be used for conversion of strings to 21 apr_int64_t */ 22#define APR_INT64_STRFN strtol 23 24/* Define as function used for conversion of strings to apr_off_t */ 25#define APR_OFF_T_STRFN strtol 26 27/* Define if pool functions should abort if concurrent usage is detected */ 28/* #undef APR_POOL_CONCURRENCY_CHECK */ 29 30/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP 31 systems. This function is required for `alloca.c' support on those systems. 32 */ 33/* #undef CRAY_STACKSEG_END */ 34 35/* Define to 1 if using `alloca.c'. */ 36/* #undef C_ALLOCA */ 37 38/* Define to path of random device */ 39/* #undef DEV_RANDOM */ 40 41/* Define if struct dirent has an inode member */ 42#define DIRENT_INODE d_fileno 43 44/* Define if struct dirent has a d_type member */ 45#define DIRENT_TYPE d_type 46 47/* Define if DSO support uses dlfcn.h */ 48#define DSO_USE_DLFCN 1 49 50/* Define if DSO support uses dyld.h */ 51/* #undef DSO_USE_DYLD */ 52 53/* Define if DSO support uses shl_load */ 54/* #undef DSO_USE_SHL */ 55 56/* Define to list of paths to EGD sockets */ 57/* #undef EGD_DEFAULT_SOCKET */ 58 59/* Define if fcntl locks affect threads within the process */ 60/* #undef FCNTL_IS_GLOBAL */ 61 62/* Define if fcntl returns EACCES when F_SETLK is already held */ 63/* #undef FCNTL_TRYACQUIRE_EACCES */ 64 65/* Define if flock locks affect threads within the process */ 66/* #undef FLOCK_IS_GLOBAL */ 67 68/* Define if gethostbyaddr is thread safe */ 69/* #undef GETHOSTBYADDR_IS_THREAD_SAFE */ 70 71/* Define if gethostbyname is thread safe */ 72/* #undef GETHOSTBYNAME_IS_THREAD_SAFE */ 73 74/* Define if gethostbyname_r has the glibc style */ 75#define GETHOSTBYNAME_R_GLIBC2 1 76 77/* Define if gethostbyname_r has the hostent_data for the third argument */ 78/* #undef GETHOSTBYNAME_R_HOSTENT_DATA */ 79 80/* Define if getservbyname is thread safe */ 81/* #undef GETSERVBYNAME_IS_THREAD_SAFE */ 82 83/* Define if getservbyname_r has the glibc style */ 84#define GETSERVBYNAME_R_GLIBC2 1 85 86/* Define if getservbyname_r has the OSF/1 style */ 87/* #undef GETSERVBYNAME_R_OSF1 */ 88 89/* Define if getservbyname_r has the Solaris style */ 90/* #undef GETSERVBYNAME_R_SOLARIS */ 91 92/* Define if accept4 function is supported */ 93#define HAVE_ACCEPT4 1 94 95/* Define to 1 if you have the `acquire_sem' function. */ 96/* #undef HAVE_ACQUIRE_SEM */ 97 98/* Define to 1 if you have the `acquire_sem_etc' function. */ 99/* #undef HAVE_ACQUIRE_SEM_ETC */ 100 101/* Define if async i/o supports message q's */ 102/* #undef HAVE_AIO_MSGQ */ 103 104/* Define to 1 if you have `alloca', as a function or macro. */ 105#define HAVE_ALLOCA 1 106 107/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 108 */ 109/* #undef HAVE_ALLOCA_H */ 110 111/* Define to 1 if you have the `arc4random_buf' function. */ 112#define HAVE_ARC4RANDOM_BUF 1 113 114/* Define to 1 if you have the <arpa/inet.h> header file. */ 115#define HAVE_ARPA_INET_H 1 116 117/* Define if compiler provides atomic builtins */ 118#if !defined(__mips__) && !defined(__arm__) 119#define HAVE_ATOMIC_BUILTINS 1 120#endif 121 122/* Define if BONE_VERSION is defined in sys/socket.h */ 123/* #undef HAVE_BONE_VERSION */ 124 125/* Define to 1 if you have the <ByteOrder.h> header file. */ 126/* #undef HAVE_BYTEORDER_H */ 127 128/* Define to 1 if you have the `calloc' function. */ 129#define HAVE_CALLOC 1 130 131/* Define to 1 if you have the <conio.h> header file. */ 132/* #undef HAVE_CONIO_H */ 133 134/* Define to 1 if you have the `create_area' function. */ 135/* #undef HAVE_CREATE_AREA */ 136 137/* Define to 1 if you have the `create_sem' function. */ 138/* #undef HAVE_CREATE_SEM */ 139 140/* Define to 1 if you have the <crypt.h> header file. */ 141/* #undef HAVE_CRYPT_H */ 142 143/* Define to 1 if you have the <ctype.h> header file. */ 144#define HAVE_CTYPE_H 1 145 146/* Define to 1 if you have the declaration of `SYS_getrandom', and to 0 if you 147 don't. */ 148#define HAVE_DECL_SYS_GETRANDOM 1 149 150/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you 151 don't. */ 152#define HAVE_DECL_SYS_SIGLIST 1 153 154/* Define to 1 if you have the <dirent.h> header file. */ 155#define HAVE_DIRENT_H 1 156 157/* Define to 1 if you have the <dir.h> header file. */ 158/* #undef HAVE_DIR_H */ 159 160/* Define to 1 if you have the <dlfcn.h> header file. */ 161#define HAVE_DLFCN_H 1 162 163/* Define to 1 if you have the <dl.h> header file. */ 164/* #undef HAVE_DL_H */ 165 166/* Define if dup3 function is supported */ 167#define HAVE_DUP3 1 168 169/* Define if EGD is supported */ 170/* #undef HAVE_EGD */ 171 172/* Define if the epoll interface is supported */ 173/* #undef HAVE_EPOLL */ 174 175/* Define if epoll_create1 function is supported */ 176/* #undef HAVE_EPOLL_CREATE1 */ 177 178/* Define to 1 if you have the <errno.h> header file. */ 179#define HAVE_ERRNO_H 1 180 181/* Define to 1 if you have the <fcntl.h> header file. */ 182#define HAVE_FCNTL_H 1 183 184/* Define to 1 if you have the `fdatasync' function. */ 185#define HAVE_FDATASYNC 1 186 187/* Define to 1 if you have the `flock' function. */ 188#define HAVE_FLOCK 1 189 190/* Define to 1 if you have the `fork' function. */ 191#define HAVE_FORK 1 192 193/* Define if F_SETLK is defined in fcntl.h */ 194#define HAVE_F_SETLK 1 195 196/* Define if getaddrinfo accepts the AI_ADDRCONFIG flag */ 197#define HAVE_GAI_ADDRCONFIG 1 198 199/* Define to 1 if you have the `gai_strerror' function. */ 200#define HAVE_GAI_STRERROR 1 201 202/* Define if getaddrinfo exists and works well enough for APR */ 203#define HAVE_GETADDRINFO 1 204 205/* Define to 1 if you have the `getenv' function. */ 206#define HAVE_GETENV 1 207 208/* Define to 1 if you have the `getgrgid_r' function. */ 209#define HAVE_GETGRGID_R 1 210 211/* Define to 1 if you have the `getgrnam_r' function. */ 212#define HAVE_GETGRNAM_R 1 213 214/* Define to 1 if you have the `gethostbyaddr_r' function. */ 215#define HAVE_GETHOSTBYADDR_R 1 216 217/* Define to 1 if you have the `gethostbyname_r' function. */ 218#define HAVE_GETHOSTBYNAME_R 1 219 220/* Define to 1 if you have the `getifaddrs' function. */ 221#define HAVE_GETIFADDRS 1 222 223/* Define if getnameinfo exists */ 224#define HAVE_GETNAMEINFO 1 225 226/* Define to 1 if you have the `getpass' function. */ 227#define HAVE_GETPASS 1 228 229/* Define to 1 if you have the `getpassphrase' function. */ 230/* #undef HAVE_GETPASSPHRASE */ 231 232/* Define to 1 if you have the `getpwnam_r' function. */ 233#define HAVE_GETPWNAM_R 1 234 235/* Define to 1 if you have the `getpwuid_r' function. */ 236#define HAVE_GETPWUID_R 1 237 238/* Define to 1 if you have the `getrandom' function. */ 239#define HAVE_GETRANDOM 1 240 241/* Define to 1 if you have the `getrlimit' function. */ 242#define HAVE_GETRLIMIT 1 243 244/* Define to 1 if you have the `getservbyname_r' function. */ 245#define HAVE_GETSERVBYNAME_R 1 246 247/* Define to 1 if you have the `gmtime_r' function. */ 248#define HAVE_GMTIME_R 1 249 250/* Define to 1 if you have the <grp.h> header file. */ 251#define HAVE_GRP_H 1 252 253/* Define if hstrerror is present */ 254/* #undef HAVE_HSTRERROR */ 255 256/* Define to 1 if you have the `if_indextoname' function. */ 257#define HAVE_IF_INDEXTONAME 1 258 259/* Define to 1 if you have the `if_nametoindex' function. */ 260#define HAVE_IF_NAMETOINDEX 1 261 262/* Define to 1 if you have the <inttypes.h> header file. */ 263#define HAVE_INTTYPES_H 1 264 265/* Define to 1 if you have the <io.h> header file. */ 266/* #undef HAVE_IO_H */ 267 268/* Define to 1 if you have the `isinf' function. */ 269#define HAVE_ISINF 1 270 271/* Define to 1 if you have the `isnan' function. */ 272#define HAVE_ISNAN 1 273 274/* Define to 1 if you have the <kernel/OS.h> header file. */ 275/* #undef HAVE_KERNEL_OS_H */ 276 277/* Define to 1 if you have the `kqueue' function. */ 278#define HAVE_KQUEUE 1 279 280/* Define to 1 if you have the <langinfo.h> header file. */ 281#define HAVE_LANGINFO_H 1 282 283/* Define to 1 if you have the `bsd' library (-lbsd). */ 284/* #undef HAVE_LIBBSD */ 285 286/* Define to 1 if you have the `sendfile' library (-lsendfile). */ 287/* #undef HAVE_LIBSENDFILE */ 288 289/* Define to 1 if you have the `truerand' library (-ltruerand). */ 290/* #undef HAVE_LIBTRUERAND */ 291 292/* Define to 1 if you have the <limits.h> header file. */ 293#define HAVE_LIMITS_H 1 294 295/* Define to 1 if you have the <linux/random.h> header file. */ 296/* #undef HAVE_LINUX_RANDOM_H */ 297 298/* Define to 1 if you have the `localtime_r' function. */ 299#define HAVE_LOCALTIME_R 1 300 301/* Define if LOCK_EX is defined in sys/file.h */ 302#define HAVE_LOCK_EX 1 303 304/* Define to 1 if you have the <mach-o/dyld.h> header file. */ 305/* #undef HAVE_MACH_O_DYLD_H */ 306 307/* Define to 1 if you have the <malloc.h> header file. */ 308/* #undef HAVE_MALLOC_H */ 309 310/* Define if MAP_ANON is defined in sys/mman.h */ 311#define HAVE_MAP_ANON 1 312 313/* Define to 1 if you have the <memcheck.h> header file. */ 314/* #undef HAVE_MEMCHECK_H */ 315 316/* Define to 1 if you have the `memchr' function. */ 317#define HAVE_MEMCHR 1 318 319/* Define to 1 if you have the `memmove' function. */ 320#define HAVE_MEMMOVE 1 321 322/* Define to 1 if you have the <memory.h> header file. */ 323#define HAVE_MEMORY_H 1 324 325/* Define to 1 if you have the `mkstemp' function. */ 326#define HAVE_MKSTEMP 1 327 328/* Define to 1 if you have the `mkstemp64' function. */ 329/* #undef HAVE_MKSTEMP64 */ 330 331/* Define to 1 if you have the `mmap' function. */ 332#define HAVE_MMAP 1 333 334/* Define to 1 if you have the `mmap64' function. */ 335/* #undef HAVE_MMAP64 */ 336 337/* Define to 1 if you have the `mprotect' function. */ 338#define HAVE_MPROTECT 1 339 340/* Define to 1 if you have the `munmap' function. */ 341#define HAVE_MUNMAP 1 342 343/* Define to 1 if you have the <netdb.h> header file. */ 344#define HAVE_NETDB_H 1 345 346/* Define to 1 if you have the <netinet/in.h> header file. */ 347#define HAVE_NETINET_IN_H 1 348 349/* Define to 1 if you have the <netinet/sctp.h> header file. */ 350#define HAVE_NETINET_SCTP_H 1 351 352/* Define to 1 if you have the <netinet/sctp_uio.h> header file. */ 353#define HAVE_NETINET_SCTP_UIO_H 1 354 355/* Defined if netinet/tcp.h is present */ 356#define HAVE_NETINET_TCP_H 1 357 358/* Define to 1 if you have the <net/errno.h> header file. */ 359/* #undef HAVE_NET_ERRNO_H */ 360 361/* Define to 1 if you have the <net/if.h> header file. */ 362#define HAVE_NET_IF_H 1 363 364/* Define to 1 if you have the `nl_langinfo' function. */ 365#define HAVE_NL_LANGINFO 1 366 367/* Define to 1 if you have the <os2.h> header file. */ 368/* #undef HAVE_OS2_H */ 369 370/* Define to 1 if you have the <osreldate.h> header file. */ 371#define HAVE_OSRELDATE_H 1 372 373/* Define to 1 if you have the <OS.h> header file. */ 374/* #undef HAVE_OS_H */ 375 376/* Define to 1 if you have the `poll' function. */ 377#define HAVE_POLL 1 378 379/* Define if POLLIN is defined */ 380#define HAVE_POLLIN 1 381 382/* Define to 1 if you have the <poll.h> header file. */ 383#define HAVE_POLL_H 1 384 385/* Define to 1 if you have the `port_create' function. */ 386/* #undef HAVE_PORT_CREATE */ 387 388/* Define to 1 if you have the <process.h> header file. */ 389/* #undef HAVE_PROCESS_H */ 390 391/* Define to 1 if you have the `pthread_attr_setguardsize' function. */ 392#define HAVE_PTHREAD_ATTR_SETGUARDSIZE 1 393 394/* Define to 1 if you have the `pthread_condattr_setpshared' function. */ 395#define HAVE_PTHREAD_CONDATTR_SETPSHARED 1 396 397/* Define to 1 if you have the <pthread.h> header file. */ 398#define HAVE_PTHREAD_H 1 399 400/* Define to 1 if you have the `pthread_key_delete' function. */ 401#define HAVE_PTHREAD_KEY_DELETE 1 402 403/* Define to 1 if you have the `pthread_mutexattr_setpshared' function. */ 404#define HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1 405 406/* Define if recursive pthread mutexes are available */ 407#define HAVE_PTHREAD_MUTEX_RECURSIVE 1 408 409/* Define if cross-process robust mutexes are available */ 410#define HAVE_PTHREAD_MUTEX_ROBUST 1 411 412/* Define if non-posix/portable cross-process robust mutexes are available */ 413/* #undef HAVE_PTHREAD_MUTEX_ROBUST_NP */ 414 415/* Define to 1 if you have the `pthread_mutex_timedlock' function. */ 416#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1 417 418/* Define if PTHREAD_PROCESS_SHARED is defined in pthread.h */ 419#define HAVE_PTHREAD_PROCESS_SHARED 1 420 421/* Define if pthread rwlocks are available */ 422#define HAVE_PTHREAD_RWLOCKS 1 423 424/* Define to 1 if you have the `pthread_rwlock_init' function. */ 425#define HAVE_PTHREAD_RWLOCK_INIT 1 426 427/* Define to 1 if you have the `pthread_yield' function. */ 428#define HAVE_PTHREAD_YIELD 1 429 430/* Define to 1 if you have the `putenv' function. */ 431#define HAVE_PUTENV 1 432 433/* Define to 1 if you have the <pwd.h> header file. */ 434#define HAVE_PWD_H 1 435 436/* Define to 1 if you have the `readdir64_r' function. */ 437/* #undef HAVE_READDIR64_R */ 438 439/* Define to 1 if you have the <sched.h> header file. */ 440/* #undef HAVE_SCHED_H */ 441 442/* Define to 1 if you have the `sched_yield' function. */ 443/* #undef HAVE_SCHED_YIELD */ 444 445/* Define to 1 if you have the <semaphore.h> header file. */ 446#define HAVE_SEMAPHORE_H 1 447 448/* Define to 1 if you have the `semctl' function. */ 449#define HAVE_SEMCTL 1 450 451/* Define to 1 if you have the `semget' function. */ 452#define HAVE_SEMGET 1 453 454/* Define to 1 if you have the `semop' function. */ 455#define HAVE_SEMOP 1 456 457/* Define to 1 if you have the `semtimedop' function. */ 458/* #undef HAVE_SEMTIMEDOP */ 459 460/* Define to 1 if you have the `sem_close' function. */ 461#define HAVE_SEM_CLOSE 1 462 463/* Define to 1 if you have the `sem_post' function. */ 464#define HAVE_SEM_POST 1 465 466/* Define to 1 if you have the `sem_timedwait' function. */ 467#define HAVE_SEM_TIMEDWAIT 1 468 469/* Define if SEM_UNDO is defined in sys/sem.h */ 470#define HAVE_SEM_UNDO 1 471 472/* Define to 1 if you have the `sem_unlink' function. */ 473#define HAVE_SEM_UNLINK 1 474 475/* Define to 1 if you have the `sem_wait' function. */ 476#define HAVE_SEM_WAIT 1 477 478/* Define to 1 if you have the `sendfile' function. */ 479#define HAVE_SENDFILE 1 480 481/* Define to 1 if you have the `sendfile64' function. */ 482/* #undef HAVE_SENDFILE64 */ 483 484/* Define to 1 if you have the `sendfilev' function. */ 485/* #undef HAVE_SENDFILEV */ 486 487/* Define to 1 if you have the `sendfilev64' function. */ 488/* #undef HAVE_SENDFILEV64 */ 489 490/* Define to 1 if you have the `send_file' function. */ 491/* #undef HAVE_SEND_FILE */ 492 493/* Define to 1 if you have the `setenv' function. */ 494#define HAVE_SETENV 1 495 496/* Define to 1 if you have the `setrlimit' function. */ 497#define HAVE_SETRLIMIT 1 498 499/* Define to 1 if you have the `setsid' function. */ 500#define HAVE_SETSID 1 501 502/* Define to 1 if you have the `set_h_errno' function. */ 503/* #undef HAVE_SET_H_ERRNO */ 504 505/* Define to 1 if you have the `shmat' function. */ 506#define HAVE_SHMAT 1 507 508/* Define to 1 if you have the `shmctl' function. */ 509#define HAVE_SHMCTL 1 510 511/* Define to 1 if you have the `shmdt' function. */ 512#define HAVE_SHMDT 1 513 514/* Define to 1 if you have the `shmget' function. */ 515#define HAVE_SHMGET 1 516 517/* Define to 1 if you have the `shm_open' function. */ 518#define HAVE_SHM_OPEN 1 519 520/* Define to 1 if you have the `shm_unlink' function. */ 521#define HAVE_SHM_UNLINK 1 522 523/* Define to 1 if you have the `sigaction' function. */ 524#define HAVE_SIGACTION 1 525 526/* Define to 1 if you have the <signal.h> header file. */ 527#define HAVE_SIGNAL_H 1 528 529/* Define to 1 if you have the `sigsuspend' function. */ 530#define HAVE_SIGSUSPEND 1 531 532/* Define to 1 if you have the `sigwait' function. */ 533#define HAVE_SIGWAIT 1 534 535/* Whether you have socklen_t */ 536#define HAVE_SOCKLEN_T 1 537 538/* Define if the SOCK_CLOEXEC flag is supported */ 539#define HAVE_SOCK_CLOEXEC 1 540 541/* Define if SO_ACCEPTFILTER is defined in sys/socket.h */ 542#define HAVE_SO_ACCEPTFILTER 1 543 544/* Define to 1 if you have the <stdarg.h> header file. */ 545#define HAVE_STDARG_H 1 546 547/* Define to 1 if you have the <stddef.h> header file. */ 548#define HAVE_STDDEF_H 1 549 550/* Define to 1 if you have the <stdint.h> header file. */ 551#define HAVE_STDINT_H 1 552 553/* Define to 1 if you have the <stdio.h> header file. */ 554#define HAVE_STDIO_H 1 555 556/* Define to 1 if you have the <stdlib.h> header file. */ 557#define HAVE_STDLIB_H 1 558 559/* Define to 1 if you have the `strcasecmp' function. */ 560#define HAVE_STRCASECMP 1 561 562/* Define to 1 if you have the `strdup' function. */ 563#define HAVE_STRDUP 1 564 565/* Define to 1 if you have the `strerror_r' function. */ 566#define HAVE_STRERROR_R 1 567 568/* Define to 1 if you have the `stricmp' function. */ 569/* #undef HAVE_STRICMP */ 570 571/* Define to 1 if you have the <strings.h> header file. */ 572#define HAVE_STRINGS_H 1 573 574/* Define to 1 if you have the <string.h> header file. */ 575#define HAVE_STRING_H 1 576 577/* Define to 1 if you have the `strncasecmp' function. */ 578#define HAVE_STRNCASECMP 1 579 580/* Define to 1 if you have the `strnicmp' function. */ 581/* #undef HAVE_STRNICMP */ 582 583/* Define to 1 if you have the `strstr' function. */ 584#define HAVE_STRSTR 1 585 586/* Define if struct impreq was found */ 587#define HAVE_STRUCT_IPMREQ 1 588 589/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ 590/* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ 591 592/* Define to 1 if `st_atime_n' is a member of `struct stat'. */ 593/* #undef HAVE_STRUCT_STAT_ST_ATIME_N */ 594 595/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ 596#define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 597 598/* Define to 1 if `st_blocks' is a member of `struct stat'. */ 599#define HAVE_STRUCT_STAT_ST_BLOCKS 1 600 601/* Define to 1 if `st_ctimensec' is a member of `struct stat'. */ 602/* #undef HAVE_STRUCT_STAT_ST_CTIMENSEC */ 603 604/* Define to 1 if `st_ctime_n' is a member of `struct stat'. */ 605/* #undef HAVE_STRUCT_STAT_ST_CTIME_N */ 606 607/* Define to 1 if `st_ctim.tv_nsec' is a member of `struct stat'. */ 608#define HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC 1 609 610/* Define to 1 if `st_mtimensec' is a member of `struct stat'. */ 611/* #undef HAVE_STRUCT_STAT_ST_MTIMENSEC */ 612 613/* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ 614/* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ 615 616/* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ 617#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 618 619/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ 620#define HAVE_STRUCT_TM_TM_GMTOFF 1 621 622/* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ 623/* #undef HAVE_STRUCT_TM___TM_GMTOFF */ 624 625/* Define to 1 if you have the <sysapi.h> header file. */ 626/* #undef HAVE_SYSAPI_H */ 627 628/* Define to 1 if you have the <sysgtime.h> header file. */ 629/* #undef HAVE_SYSGTIME_H */ 630 631/* Define to 1 if you have the <sys/file.h> header file. */ 632#define HAVE_SYS_FILE_H 1 633 634/* Define to 1 if you have the <sys/ioctl.h> header file. */ 635#define HAVE_SYS_IOCTL_H 1 636 637/* Define to 1 if you have the <sys/ipc.h> header file. */ 638#define HAVE_SYS_IPC_H 1 639 640/* Define to 1 if you have the <sys/mman.h> header file. */ 641#define HAVE_SYS_MMAN_H 1 642 643/* Define to 1 if you have the <sys/mutex.h> header file. */ 644#define HAVE_SYS_MUTEX_H 1 645 646/* Define to 1 if you have the <sys/param.h> header file. */ 647#define HAVE_SYS_PARAM_H 1 648 649/* Define to 1 if you have the <sys/poll.h> header file. */ 650#define HAVE_SYS_POLL_H 1 651 652/* Define to 1 if you have the <sys/random.h> header file. */ 653#define HAVE_SYS_RANDOM_H 1 654 655/* Define to 1 if you have the <sys/resource.h> header file. */ 656#define HAVE_SYS_RESOURCE_H 1 657 658/* Define to 1 if you have the <sys/select.h> header file. */ 659#define HAVE_SYS_SELECT_H 1 660 661/* Define to 1 if you have the <sys/sem.h> header file. */ 662#define HAVE_SYS_SEM_H 1 663 664/* Define to 1 if you have the <sys/sendfile.h> header file. */ 665/* #undef HAVE_SYS_SENDFILE_H */ 666 667/* Define to 1 if you have the <sys/shm.h> header file. */ 668#define HAVE_SYS_SHM_H 1 669 670/* Define to 1 if you have the <sys/signal.h> header file. */ 671#define HAVE_SYS_SIGNAL_H 1 672 673/* Define to 1 if you have the <sys/socket.h> header file. */ 674#define HAVE_SYS_SOCKET_H 1 675 676/* Define to 1 if you have the <sys/sockio.h> header file. */ 677#define HAVE_SYS_SOCKIO_H 1 678 679/* Define to 1 if you have the <sys/stat.h> header file. */ 680#define HAVE_SYS_STAT_H 1 681 682/* Define to 1 if you have the <sys/syscall.h> header file. */ 683#define HAVE_SYS_SYSCALL_H 1 684 685/* Define to 1 if you have the <sys/sysctl.h> header file. */ 686#define HAVE_SYS_SYSCTL_H 1 687 688/* Define to 1 if you have the <sys/syslimits.h> header file. */ 689#define HAVE_SYS_SYSLIMITS_H 1 690 691/* Define to 1 if you have the <sys/time.h> header file. */ 692#define HAVE_SYS_TIME_H 1 693 694/* Define to 1 if you have the <sys/types.h> header file. */ 695#define HAVE_SYS_TYPES_H 1 696 697/* Define to 1 if you have the <sys/uio.h> header file. */ 698#define HAVE_SYS_UIO_H 1 699 700/* Define to 1 if you have the <sys/un.h> header file. */ 701#define HAVE_SYS_UN_H 1 702 703/* Define to 1 if you have the <sys/uuid.h> header file. */ 704/* #undef HAVE_SYS_UUID_H */ 705 706/* Define to 1 if you have the <sys/wait.h> header file. */ 707#define HAVE_SYS_WAIT_H 1 708 709/* Define if TCP_CORK is defined in netinet/tcp.h */ 710/* #undef HAVE_TCP_CORK */ 711 712/* Define if TCP_NODELAY and TCP_CORK can be enabled at the same time */ 713/* #undef HAVE_TCP_NODELAY_WITH_CORK */ 714 715/* Define if TCP_NOPUSH is defined in netinet/tcp.h */ 716#define HAVE_TCP_NOPUSH 1 717 718/* Define to 1 if you have the <termios.h> header file. */ 719#define HAVE_TERMIOS_H 1 720 721/* Define to 1 if you have the <time.h> header file. */ 722#define HAVE_TIME_H 1 723 724/* Define to 1 if you have the <tpfeq.h> header file. */ 725/* #undef HAVE_TPFEQ_H */ 726 727/* Define to 1 if you have the <tpfio.h> header file. */ 728/* #undef HAVE_TPFIO_H */ 729 730/* Define if truerand is supported */ 731/* #undef HAVE_TRUERAND */ 732 733/* Define to 1 if you have the <unistd.h> header file. */ 734#define HAVE_UNISTD_H 1 735 736/* Define to 1 if you have the <unix.h> header file. */ 737/* #undef HAVE_UNIX_H */ 738 739/* Define to 1 if you have the `unsetenv' function. */ 740#define HAVE_UNSETENV 1 741 742/* Define to 1 if you have the `utime' function. */ 743#define HAVE_UTIME 1 744 745/* Define to 1 if you have the `utimes' function. */ 746#define HAVE_UTIMES 1 747 748/* Define to 1 if you have the `uuid_create' function. */ 749#define HAVE_UUID_CREATE 1 750 751/* Define to 1 if you have the `uuid_generate' function. */ 752/* #undef HAVE_UUID_GENERATE */ 753 754/* Define to 1 if you have the <uuid.h> header file. */ 755#define HAVE_UUID_H 1 756 757/* Define to 1 if you have the <uuid/uuid.h> header file. */ 758/* #undef HAVE_UUID_UUID_H */ 759 760/* Compile in valgrind support */ 761/* #undef HAVE_VALGRIND */ 762 763/* Define to 1 if you have the <valgrind.h> header file. */ 764/* #undef HAVE_VALGRIND_H */ 765 766/* Define if C compiler supports VLA */ 767#define HAVE_VLA 1 768 769/* Define to 1 if you have the `waitpid' function. */ 770#define HAVE_WAITPID 1 771 772/* Define to 1 if you have the <windows.h> header file. */ 773/* #undef HAVE_WINDOWS_H */ 774 775/* Define to 1 if you have the <winsock2.h> header file. */ 776/* #undef HAVE_WINSOCK2_H */ 777 778/* Define to 1 if you have the `writev' function. */ 779#define HAVE_WRITEV 1 780 781/* Define for z/OS pthread API nuances */ 782/* #undef HAVE_ZOS_PTHREADS */ 783 784/* Define to the sub-directory where libtool stores uninstalled libraries. */ 785#define LT_OBJDIR ".libs/" 786 787/* Define if EAI_ error codes from getaddrinfo are negative */ 788/* #undef NEGATIVE_EAI */ 789 790/* Define to the address where bug reports for this package should be sent. */ 791#define PACKAGE_BUGREPORT "" 792 793/* Define to the full name of this package. */ 794#define PACKAGE_NAME "" 795 796/* Define to the full name and version of this package. */ 797#define PACKAGE_STRING "" 798 799/* Define to the one symbol short name of this package. */ 800#define PACKAGE_TARNAME "" 801 802/* Define to the home page for this package. */ 803#define PACKAGE_URL "" 804 805/* Define to the version of this package. */ 806#define PACKAGE_VERSION "" 807 808/* Define if POSIX semaphores affect threads within the process */ 809/* #undef POSIXSEM_IS_GLOBAL */ 810 811/* Define on PowerPC 405 where errata 77 applies */ 812/* #undef PPC405_ERRATA */ 813 814/* Define if pthread_attr_getdetachstate() has one arg */ 815/* #undef PTHREAD_ATTR_GETDETACHSTATE_TAKES_ONE_ARG */ 816 817/* Define if pthread_getspecific() has two args */ 818/* #undef PTHREAD_GETSPECIFIC_TAKES_TWO_ARGS */ 819 820/* Modern readdir is thread safe */ 821#define READDIR_IS_THREAD_SAFE 1 822 823/* Define to 1 if the `setpgrp' function takes no argument. */ 824/* #undef SETPGRP_VOID */ 825 826/* */ 827/* #undef SIGWAIT_TAKES_ONE_ARG */ 828 829/* The size of `char', as computed by sizeof. */ 830#define SIZEOF_CHAR 1 831 832/* The size of ino_t */ 833#if __FreeBSD__ >= 12 834#define SIZEOF_INO_T 8 835#else 836#define SIZEOF_INO_T 4 837#endif 838 839/* The size of `int', as computed by sizeof. */ 840#define SIZEOF_INT 4 841 842/* The size of `long', as computed by sizeof. */ 843#define SIZEOF_LONG 8 844 845/* The size of `long long', as computed by sizeof. */ 846#define SIZEOF_LONG_LONG 8 847 848/* The size of off_t */ 849#define SIZEOF_OFF_T 8 850 851/* The size of pid_t */ 852#define SIZEOF_PID_T 4 853 854/* The size of `short', as computed by sizeof. */ 855#define SIZEOF_SHORT 2 856 857/* The size of size_t */ 858#define SIZEOF_SIZE_T 8 859 860/* The size of ssize_t */ 861#define SIZEOF_SSIZE_T 8 862 863/* The size of struct iovec */ 864#define SIZEOF_STRUCT_IOVEC 16 865 866/* The size of `void*', as computed by sizeof. */ 867#define SIZEOF_VOIDP 8 868 869/* If using the C implementation of alloca, define if you know the 870 direction of stack growth for your system; otherwise it will be 871 automatically deduced at runtime. 872 STACK_DIRECTION > 0 => grows toward higher addresses 873 STACK_DIRECTION < 0 => grows toward lower addresses 874 STACK_DIRECTION = 0 => direction of growth unknown */ 875/* #undef STACK_DIRECTION */ 876 877/* Define to 1 if you have the ANSI C header files. */ 878#define STDC_HEADERS 1 879 880/* Define if strerror returns int */ 881#define STRERROR_R_RC_INT 1 882 883/* Define if SysV semaphores affect threads within the process */ 884/* #undef SYSVSEM_IS_GLOBAL */ 885 886/* Define system call of random */ 887#define SYS_RANDOM "getrandom" 888 889/* Define if use of generic atomics is requested */ 890/* #undef USE_ATOMICS_GENERIC */ 891 892/* Define if BeOS Semaphores will be used */ 893/* #undef USE_BEOSSEM */ 894 895/* Define if SVR4-style fcntl() will be used */ 896/* #undef USE_FCNTL_SERIALIZE */ 897 898/* Define if 4.2BSD-style flock() will be used */ 899#define USE_FLOCK_SERIALIZE 1 900 901/* Define if pthread pshared mutex will be used */ 902/* #undef USE_PROC_PTHREAD_SERIALIZE */ 903 904/* Define if BeOS areas will be used */ 905/* #undef USE_SHMEM_BEOS */ 906 907/* Define if BeOS areas will be used */ 908/* #undef USE_SHMEM_BEOS_ANON */ 909 910/* Define if 4.4BSD-style mmap() via MAP_ANON will be used */ 911#define USE_SHMEM_MMAP_ANON 1 912 913/* Define if mmap() via POSIX.1 shm_open() on temporary file will be used */ 914/* #undef USE_SHMEM_MMAP_SHM */ 915 916/* Define if Classical mmap() on temporary file will be used */ 917/* #undef USE_SHMEM_MMAP_TMP */ 918 919/* Define if SVR4-style mmap() on /dev/zero will be used */ 920/* #undef USE_SHMEM_MMAP_ZERO */ 921 922/* Define if OS/2 DosAllocSharedMem() will be used */ 923/* #undef USE_SHMEM_OS2 */ 924 925/* Define if OS/2 DosAllocSharedMem() will be used */ 926/* #undef USE_SHMEM_OS2_ANON */ 927 928/* Define if SysV IPC shmget() will be used */ 929#define USE_SHMEM_SHMGET 1 930 931/* Define if SysV IPC shmget() will be used */ 932/* #undef USE_SHMEM_SHMGET_ANON */ 933 934/* Define if Windows shared memory will be used */ 935/* #undef USE_SHMEM_WIN32 */ 936 937/* Define if Windows CreateFileMapping() will be used */ 938/* #undef USE_SHMEM_WIN32_ANON */ 939 940/* Enable extensions on AIX 3, Interix. */ 941#ifndef _ALL_SOURCE 942# define _ALL_SOURCE 1 943#endif 944/* Enable GNU extensions on systems that have them. */ 945#ifndef _GNU_SOURCE 946# define _GNU_SOURCE 1 947#endif 948/* Enable threading extensions on Solaris. */ 949#ifndef _POSIX_PTHREAD_SEMANTICS 950# define _POSIX_PTHREAD_SEMANTICS 1 951#endif 952/* Enable extensions on HP NonStop. */ 953#ifndef _TANDEM_SOURCE 954# define _TANDEM_SOURCE 1 955#endif 956/* Enable general extensions on Solaris. */ 957#ifndef __EXTENSIONS__ 958# define __EXTENSIONS__ 1 959#endif 960 961 962/* Define if SysV IPC semget() will be used */ 963/* #undef USE_SYSVSEM_SERIALIZE */ 964 965/* Define if apr_wait_for_io_or_timeout() uses poll(2) */ 966#define WAITIO_USES_POLL 1 967 968/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 969 significant byte first (like Motorola and SPARC, unlike Intel). */ 970#if defined AC_APPLE_UNIVERSAL_BUILD 971# if defined __BIG_ENDIAN__ 972# define WORDS_BIGENDIAN 1 973# endif 974#else 975# ifndef WORDS_BIGENDIAN 976/* # undef WORDS_BIGENDIAN */ 977# endif 978#endif 979 980/* Define to 1 if on MINIX. */ 981/* #undef _MINIX */ 982 983/* Define to 2 if the system does not provide POSIX.1 features except with 984 this defined. */ 985/* #undef _POSIX_1_SOURCE */ 986 987/* Define to 1 if you need to in order for `stat' and other things to work. */ 988/* #undef _POSIX_SOURCE */ 989 990/* Define to empty if `const' does not conform to ANSI C. */ 991/* #undef const */ 992 993/* Define to `int' if <sys/types.h> doesn't define. */ 994/* #undef gid_t */ 995 996/* Define to `__inline__' or `__inline' if that's what the C compiler 997 calls it, or to nothing if 'inline' is not supported under any name. */ 998#ifndef __cplusplus 999/* #undef inline */ 1000#endif 1001 1002/* Define to `long int' if <sys/types.h> does not define. */ 1003/* #undef off_t */ 1004 1005/* Define to `int' if <sys/types.h> does not define. */ 1006/* #undef pid_t */ 1007 1008/* Define to `unsigned int' if <sys/types.h> does not define. */ 1009/* #undef size_t */ 1010 1011/* Define to `int' if <sys/types.h> does not define. */ 1012/* #undef ssize_t */ 1013 1014/* Define to `int' if <sys/types.h> doesn't define. */ 1015/* #undef uid_t */ 1016 1017 1018/* switch this on if we have a BeOS version below BONE */ 1019#if defined(BEOS) && !defined(HAVE_BONE_VERSION) 1020#define BEOS_R5 1 1021#else 1022#define BEOS_BONE 1 1023#endif 1024 1025/* 1026 * Darwin 10's default compiler (gcc42) builds for both 64 and 1027 * 32 bit architectures unless specifically told not to. 1028 * In those cases, we need to override types depending on how 1029 * we're being built at compile time. 1030 * NOTE: This is an ugly work-around for Darwin's 1031 * concept of universal binaries, a single package 1032 * (executable, lib, etc...) which contains both 32 1033 * and 64 bit versions. The issue is that if APR is 1034 * built universally, if something else is compiled 1035 * against it, some bit sizes will depend on whether 1036 * it is 32 or 64 bit. This is determined by the __LP64__ 1037 * flag. Since we need to support both, we have to 1038 * handle OS X unqiuely. 1039 */ 1040#ifdef DARWIN_10 1041 1042#define APR_OFF_T_STRFN strtol 1043#define APR_INT64_STRFN strtol 1044#define SIZEOF_LONG 8 1045#define SIZEOF_SIZE_T 8 1046#define SIZEOF_SSIZE_T 8 1047#define SIZEOF_VOIDP 8 1048#define SIZEOF_STRUCT_IOVEC 16 1049 1050#ifdef __LP64__ 1051 #define APR_INT64_STRFN strtol 1052 #define SIZEOF_LONG 8 1053 #define SIZEOF_SIZE_T 8 1054 #define SIZEOF_SSIZE_T 8 1055 #define SIZEOF_VOIDP 8 1056 #define SIZEOF_STRUCT_IOVEC 16 1057#else 1058 #define APR_INT64_STRFN strtol 1059 #define SIZEOF_LONG 8 1060 #define SIZEOF_SIZE_T 8 1061 #define SIZEOF_SSIZE_T 8 1062 #define SIZEOF_VOIDP 8 1063 #define SIZEOF_STRUCT_IOVEC 16 1064#endif 1065 1066#define APR_OFF_T_STRFN strtol 1067#define APR_OFF_T_STRFN strtol 1068 1069 1070/* #undef SETPGRP_VOID */ 1071#ifdef __DARWIN_UNIX03 1072 #define SETPGRP_VOID 1 1073#else 1074/* #undef SETPGRP_VOID */ 1075#endif 1076 1077#endif /* DARWIN_10 */ 1078 1079/* 1080 * Include common private declarations. 1081 */ 1082#include "../apr_private_common.h" 1083#endif /* APR_PRIVATE_H */ 1084 1085