1 /* include/arch/unix/apr_private.h.in. Generated from configure.in by autoheader. */
8 /* Define if building universal (internal helper macro) */
9 #undef AC_APPLE_UNIVERSAL_BUILD
11 /* Define if apr_allocator should use mmap */
12 #undef APR_ALLOCATOR_USES_MMAP
14 /* Define as function which can be used for conversion of strings to
16 #undef APR_INT64_STRFN
18 /* Define as function used for conversion of strings to apr_off_t */
19 #undef APR_OFF_T_STRFN
21 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
22 systems. This function is required for `alloca.c' support on those systems.
24 #undef CRAY_STACKSEG_END
26 /* Define to 1 if using `alloca.c'. */
29 /* Define to path of random device */
32 /* Define if struct dirent has an inode member */
35 /* Define if struct dirent has a d_type member */
38 /* Define if DSO support uses dlfcn.h */
41 /* Define if DSO support uses dyld.h */
44 /* Define if DSO support uses shl_load */
47 /* Define to list of paths to EGD sockets */
48 #undef EGD_DEFAULT_SOCKET
50 /* Define if fcntl locks affect threads within the process */
51 #undef FCNTL_IS_GLOBAL
53 /* Define if fcntl returns EACCES when F_SETLK is already held */
54 #undef FCNTL_TRYACQUIRE_EACCES
56 /* Define if flock locks affect threads within the process */
57 #undef FLOCK_IS_GLOBAL
59 /* Define if gethostbyaddr is thread safe */
60 #undef GETHOSTBYADDR_IS_THREAD_SAFE
62 /* Define if gethostbyname is thread safe */
63 #undef GETHOSTBYNAME_IS_THREAD_SAFE
65 /* Define if gethostbyname_r has the glibc style */
66 #undef GETHOSTBYNAME_R_GLIBC2
68 /* Define if gethostbyname_r has the hostent_data for the third argument */
69 #undef GETHOSTBYNAME_R_HOSTENT_DATA
71 /* Define if getservbyname is thread safe */
72 #undef GETSERVBYNAME_IS_THREAD_SAFE
74 /* Define if getservbyname_r has the glibc style */
75 #undef GETSERVBYNAME_R_GLIBC2
77 /* Define if getservbyname_r has the OSF/1 style */
78 #undef GETSERVBYNAME_R_OSF1
80 /* Define if getservbyname_r has the Solaris style */
81 #undef GETSERVBYNAME_R_SOLARIS
83 /* Define if accept4 function is supported */
86 /* Define to 1 if you have `alloca', as a function or macro. */
89 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
93 /* Define to 1 if you have the <arpa/inet.h> header file. */
94 #undef HAVE_ARPA_INET_H
96 /* Define if compiler provides atomic builtins */
97 #undef HAVE_ATOMIC_BUILTINS
99 /* Define if BONE_VERSION is defined in sys/socket.h */
100 #undef HAVE_BONE_VERSION
102 /* Define to 1 if you have the <ByteOrder.h> header file. */
103 #undef HAVE_BYTEORDER_H
105 /* Define to 1 if you have the `calloc' function. */
108 /* Define to 1 if you have the <conio.h> header file. */
111 /* Define to 1 if you have the `create_area' function. */
112 #undef HAVE_CREATE_AREA
114 /* Define to 1 if you have the `create_sem' function. */
115 #undef HAVE_CREATE_SEM
117 /* Define to 1 if you have the <crypt.h> header file. */
120 /* Define to 1 if you have the <ctype.h> header file. */
123 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
125 #undef HAVE_DECL_SYS_SIGLIST
127 /* Define to 1 if you have the <dirent.h> header file. */
130 /* Define to 1 if you have the <dir.h> header file. */
133 /* Define to 1 if you have the <dlfcn.h> header file. */
136 /* Define to 1 if you have the <dl.h> header file. */
139 /* Define if dup3 function is supported */
142 /* Define if EGD is supported */
145 /* Define if the epoll interface is supported */
148 /* Define if epoll_create1 function is supported */
149 #undef HAVE_EPOLL_CREATE1
151 /* Define to 1 if you have the <errno.h> header file. */
154 /* Define to 1 if you have the <fcntl.h> header file. */
157 /* Define to 1 if you have the `fdatasync' function. */
158 #undef HAVE_FDATASYNC
160 /* Define to 1 if you have the `flock' function. */
163 /* Define to 1 if you have the `fork' function. */
166 /* Define if F_SETLK is defined in fcntl.h */
169 /* Define if getaddrinfo accepts the AI_ADDRCONFIG flag */
170 #undef HAVE_GAI_ADDRCONFIG
172 /* Define to 1 if you have the `gai_strerror' function. */
173 #undef HAVE_GAI_STRERROR
175 /* Define if getaddrinfo exists and works well enough for APR */
176 #undef HAVE_GETADDRINFO
178 /* Define to 1 if you have the `getenv' function. */
181 /* Define to 1 if you have the `getgrgid_r' function. */
182 #undef HAVE_GETGRGID_R
184 /* Define to 1 if you have the `getgrnam_r' function. */
185 #undef HAVE_GETGRNAM_R
187 /* Define to 1 if you have the `gethostbyaddr_r' function. */
188 #undef HAVE_GETHOSTBYADDR_R
190 /* Define to 1 if you have the `gethostbyname_r' function. */
191 #undef HAVE_GETHOSTBYNAME_R
193 /* Define to 1 if you have the `getifaddrs' function. */
194 #undef HAVE_GETIFADDRS
196 /* Define if getnameinfo exists */
197 #undef HAVE_GETNAMEINFO
199 /* Define to 1 if you have the `getpass' function. */
202 /* Define to 1 if you have the `getpassphrase' function. */
203 #undef HAVE_GETPASSPHRASE
205 /* Define to 1 if you have the `getpwnam_r' function. */
206 #undef HAVE_GETPWNAM_R
208 /* Define to 1 if you have the `getpwuid_r' function. */
209 #undef HAVE_GETPWUID_R
211 /* Define to 1 if you have the `getrlimit' function. */
212 #undef HAVE_GETRLIMIT
214 /* Define to 1 if you have the `getservbyname_r' function. */
215 #undef HAVE_GETSERVBYNAME_R
217 /* Define to 1 if you have the `gmtime_r' function. */
220 /* Define to 1 if you have the <grp.h> header file. */
223 /* Define if hstrerror is present */
224 #undef HAVE_HSTRERROR
226 /* Define to 1 if you have the <inttypes.h> header file. */
227 #undef HAVE_INTTYPES_H
229 /* Define to 1 if you have the <io.h> header file. */
232 /* Define to 1 if you have the `isinf' function. */
235 /* Define to 1 if you have the `isnan' function. */
238 /* Define to 1 if you have the <kernel/OS.h> header file. */
239 #undef HAVE_KERNEL_OS_H
241 /* Define to 1 if you have the `kqueue' function. */
244 /* Define to 1 if you have the <langinfo.h> header file. */
245 #undef HAVE_LANGINFO_H
247 /* Define to 1 if you have the `bsd' library (-lbsd). */
250 /* Define to 1 if you have the `sendfile' library (-lsendfile). */
251 #undef HAVE_LIBSENDFILE
253 /* Define to 1 if you have the `truerand' library (-ltruerand). */
254 #undef HAVE_LIBTRUERAND
256 /* Define to 1 if you have the <limits.h> header file. */
259 /* Define to 1 if you have the `localtime_r' function. */
260 #undef HAVE_LOCALTIME_R
262 /* Define if LOCK_EX is defined in sys/file.h */
265 /* Define to 1 if you have the <mach-o/dyld.h> header file. */
266 #undef HAVE_MACH_O_DYLD_H
268 /* Define to 1 if you have the <malloc.h> header file. */
271 /* Define if MAP_ANON is defined in sys/mman.h */
274 /* Define to 1 if you have the `memchr' function. */
277 /* Define to 1 if you have the `memmove' function. */
280 /* Define to 1 if you have the <memory.h> header file. */
283 /* Define to 1 if you have the `mkstemp' function. */
286 /* Define to 1 if you have the `mkstemp64' function. */
287 #undef HAVE_MKSTEMP64
289 /* Define to 1 if you have the `mmap' function. */
292 /* Define to 1 if you have the `mmap64' function. */
295 /* Define to 1 if you have the `munmap' function. */
298 /* Define to 1 if you have the <netdb.h> header file. */
301 /* Define to 1 if you have the <netinet/in.h> header file. */
302 #undef HAVE_NETINET_IN_H
304 /* Define to 1 if you have the <netinet/sctp.h> header file. */
305 #undef HAVE_NETINET_SCTP_H
307 /* Define to 1 if you have the <netinet/sctp_uio.h> header file. */
308 #undef HAVE_NETINET_SCTP_UIO_H
310 /* Defined if netinet/tcp.h is present */
311 #undef HAVE_NETINET_TCP_H
313 /* Define to 1 if you have the <net/errno.h> header file. */
314 #undef HAVE_NET_ERRNO_H
316 /* Define to 1 if you have the `nl_langinfo' function. */
317 #undef HAVE_NL_LANGINFO
319 /* Define to 1 if you have the <os2.h> header file. */
322 /* Define to 1 if you have the <osreldate.h> header file. */
323 #undef HAVE_OSRELDATE_H
325 /* Define to 1 if you have the <OS.h> header file. */
328 /* Define to 1 if you have the `poll' function. */
331 /* Define if POLLIN is defined */
334 /* Define to 1 if you have the <poll.h> header file. */
337 /* Define to 1 if you have the `port_create' function. */
338 #undef HAVE_PORT_CREATE
340 /* Define to 1 if you have the <process.h> header file. */
341 #undef HAVE_PROCESS_H
343 /* Define to 1 if you have the `pthread_attr_setguardsize' function. */
344 #undef HAVE_PTHREAD_ATTR_SETGUARDSIZE
346 /* Define to 1 if you have the <pthread.h> header file. */
347 #undef HAVE_PTHREAD_H
349 /* Define to 1 if you have the `pthread_key_delete' function. */
350 #undef HAVE_PTHREAD_KEY_DELETE
352 /* Define to 1 if you have the `pthread_mutexattr_setpshared' function. */
353 #undef HAVE_PTHREAD_MUTEXATTR_SETPSHARED
355 /* Define if recursive pthread mutexes are available */
356 #undef HAVE_PTHREAD_MUTEX_RECURSIVE
358 /* Define if cross-process robust mutexes are available */
359 #undef HAVE_PTHREAD_MUTEX_ROBUST
361 /* Define if PTHREAD_PROCESS_SHARED is defined in pthread.h */
362 #undef HAVE_PTHREAD_PROCESS_SHARED
364 /* Define if pthread rwlocks are available */
365 #undef HAVE_PTHREAD_RWLOCKS
367 /* Define to 1 if you have the `pthread_rwlock_init' function. */
368 #undef HAVE_PTHREAD_RWLOCK_INIT
370 /* Define to 1 if you have the `pthread_yield' function. */
371 #undef HAVE_PTHREAD_YIELD
373 /* Define to 1 if you have the `putenv' function. */
376 /* Define to 1 if you have the <pwd.h> header file. */
379 /* Define to 1 if you have the `readdir64_r' function. */
380 #undef HAVE_READDIR64_R
382 /* Define to 1 if you have the <sched.h> header file. */
385 /* Define to 1 if you have the `sched_yield' function. */
386 #undef HAVE_SCHED_YIELD
388 /* Define to 1 if you have the <semaphore.h> header file. */
389 #undef HAVE_SEMAPHORE_H
391 /* Define to 1 if you have the `semctl' function. */
394 /* Define to 1 if you have the `semget' function. */
397 /* Define to 1 if you have the `sem_close' function. */
398 #undef HAVE_SEM_CLOSE
400 /* Define to 1 if you have the `sem_post' function. */
403 /* Define if SEM_UNDO is defined in sys/sem.h */
406 /* Define to 1 if you have the `sem_unlink' function. */
407 #undef HAVE_SEM_UNLINK
409 /* Define to 1 if you have the `sem_wait' function. */
412 /* Define to 1 if you have the `sendfile' function. */
415 /* Define to 1 if you have the `sendfile64' function. */
416 #undef HAVE_SENDFILE64
418 /* Define to 1 if you have the `sendfilev' function. */
419 #undef HAVE_SENDFILEV
421 /* Define to 1 if you have the `sendfilev64' function. */
422 #undef HAVE_SENDFILEV64
424 /* Define to 1 if you have the `send_file' function. */
425 #undef HAVE_SEND_FILE
427 /* Define to 1 if you have the `setenv' function. */
430 /* Define to 1 if you have the `setrlimit' function. */
431 #undef HAVE_SETRLIMIT
433 /* Define to 1 if you have the `setsid' function. */
436 /* Define to 1 if you have the `set_h_errno' function. */
437 #undef HAVE_SET_H_ERRNO
439 /* Define to 1 if you have the `shmat' function. */
442 /* Define to 1 if you have the `shmctl' function. */
445 /* Define to 1 if you have the `shmdt' function. */
448 /* Define to 1 if you have the `shmget' function. */
451 /* Define to 1 if you have the `shm_open' function. */
454 /* Define to 1 if you have the `shm_unlink' function. */
455 #undef HAVE_SHM_UNLINK
457 /* Define to 1 if you have the `sigaction' function. */
458 #undef HAVE_SIGACTION
460 /* Define to 1 if you have the <signal.h> header file. */
463 /* Define to 1 if you have the `sigsuspend' function. */
464 #undef HAVE_SIGSUSPEND
466 /* Define to 1 if you have the `sigwait' function. */
469 /* Whether you have socklen_t */
470 #undef HAVE_SOCKLEN_T
472 /* Define if the SOCK_CLOEXEC flag is supported */
473 #undef HAVE_SOCK_CLOEXEC
475 /* Define if SO_ACCEPTFILTER is defined in sys/socket.h */
476 #undef HAVE_SO_ACCEPTFILTER
478 /* Define to 1 if you have the <stdarg.h> header file. */
481 /* Define to 1 if you have the <stddef.h> header file. */
484 /* Define to 1 if you have the <stdint.h> header file. */
487 /* Define to 1 if you have the <stdio.h> header file. */
490 /* Define to 1 if you have the <stdlib.h> header file. */
493 /* Define to 1 if you have the `strcasecmp' function. */
494 #undef HAVE_STRCASECMP
496 /* Define to 1 if you have the `strdup' function. */
499 /* Define to 1 if you have the `strerror_r' function. */
500 #undef HAVE_STRERROR_R
502 /* Define to 1 if you have the `stricmp' function. */
505 /* Define to 1 if you have the <strings.h> header file. */
506 #undef HAVE_STRINGS_H
508 /* Define to 1 if you have the <string.h> header file. */
511 /* Define to 1 if you have the `strncasecmp' function. */
512 #undef HAVE_STRNCASECMP
514 /* Define to 1 if you have the `strnicmp' function. */
517 /* Define to 1 if you have the `strstr' function. */
520 /* Define if struct impreq was found */
521 #undef HAVE_STRUCT_IPMREQ
523 /* Define to 1 if `st_atimensec' is a member of `struct stat'. */
524 #undef HAVE_STRUCT_STAT_ST_ATIMENSEC
526 /* Define to 1 if `st_atime_n' is a member of `struct stat'. */
527 #undef HAVE_STRUCT_STAT_ST_ATIME_N
529 /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
530 #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
532 /* Define to 1 if `st_blocks' is a member of `struct stat'. */
533 #undef HAVE_STRUCT_STAT_ST_BLOCKS
535 /* Define to 1 if `st_ctimensec' is a member of `struct stat'. */
536 #undef HAVE_STRUCT_STAT_ST_CTIMENSEC
538 /* Define to 1 if `st_ctime_n' is a member of `struct stat'. */
539 #undef HAVE_STRUCT_STAT_ST_CTIME_N
541 /* Define to 1 if `st_ctim.tv_nsec' is a member of `struct stat'. */
542 #undef HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC
544 /* Define to 1 if `st_mtimensec' is a member of `struct stat'. */
545 #undef HAVE_STRUCT_STAT_ST_MTIMENSEC
547 /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */
548 #undef HAVE_STRUCT_STAT_ST_MTIME_N
550 /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */
551 #undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
553 /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
554 #undef HAVE_STRUCT_TM_TM_GMTOFF
556 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */
557 #undef HAVE_STRUCT_TM___TM_GMTOFF
559 /* Define to 1 if you have the <sysapi.h> header file. */
562 /* Define to 1 if you have the <sysgtime.h> header file. */
563 #undef HAVE_SYSGTIME_H
565 /* Define to 1 if you have the <sys/file.h> header file. */
566 #undef HAVE_SYS_FILE_H
568 /* Define to 1 if you have the <sys/ioctl.h> header file. */
569 #undef HAVE_SYS_IOCTL_H
571 /* Define to 1 if you have the <sys/ipc.h> header file. */
572 #undef HAVE_SYS_IPC_H
574 /* Define to 1 if you have the <sys/mman.h> header file. */
575 #undef HAVE_SYS_MMAN_H
577 /* Define to 1 if you have the <sys/mutex.h> header file. */
578 #undef HAVE_SYS_MUTEX_H
580 /* Define to 1 if you have the <sys/param.h> header file. */
581 #undef HAVE_SYS_PARAM_H
583 /* Define to 1 if you have the <sys/poll.h> header file. */
584 #undef HAVE_SYS_POLL_H
586 /* Define to 1 if you have the <sys/resource.h> header file. */
587 #undef HAVE_SYS_RESOURCE_H
589 /* Define to 1 if you have the <sys/select.h> header file. */
590 #undef HAVE_SYS_SELECT_H
592 /* Define to 1 if you have the <sys/sem.h> header file. */
593 #undef HAVE_SYS_SEM_H
595 /* Define to 1 if you have the <sys/sendfile.h> header file. */
596 #undef HAVE_SYS_SENDFILE_H
598 /* Define to 1 if you have the <sys/shm.h> header file. */
599 #undef HAVE_SYS_SHM_H
601 /* Define to 1 if you have the <sys/signal.h> header file. */
602 #undef HAVE_SYS_SIGNAL_H
604 /* Define to 1 if you have the <sys/socket.h> header file. */
605 #undef HAVE_SYS_SOCKET_H
607 /* Define to 1 if you have the <sys/sockio.h> header file. */
608 #undef HAVE_SYS_SOCKIO_H
610 /* Define to 1 if you have the <sys/stat.h> header file. */
611 #undef HAVE_SYS_STAT_H
613 /* Define to 1 if you have the <sys/sysctl.h> header file. */
614 #undef HAVE_SYS_SYSCTL_H
616 /* Define to 1 if you have the <sys/syslimits.h> header file. */
617 #undef HAVE_SYS_SYSLIMITS_H
619 /* Define to 1 if you have the <sys/time.h> header file. */
620 #undef HAVE_SYS_TIME_H
622 /* Define to 1 if you have the <sys/types.h> header file. */
623 #undef HAVE_SYS_TYPES_H
625 /* Define to 1 if you have the <sys/uio.h> header file. */
626 #undef HAVE_SYS_UIO_H
628 /* Define to 1 if you have the <sys/un.h> header file. */
631 /* Define to 1 if you have the <sys/uuid.h> header file. */
632 #undef HAVE_SYS_UUID_H
634 /* Define to 1 if you have the <sys/wait.h> header file. */
635 #undef HAVE_SYS_WAIT_H
637 /* Define if TCP_CORK is defined in netinet/tcp.h */
640 /* Define if TCP_NODELAY and TCP_CORK can be enabled at the same time */
641 #undef HAVE_TCP_NODELAY_WITH_CORK
643 /* Define if TCP_NOPUSH is defined in netinet/tcp.h */
644 #undef HAVE_TCP_NOPUSH
646 /* Define to 1 if you have the <termios.h> header file. */
647 #undef HAVE_TERMIOS_H
649 /* Define to 1 if you have the <time.h> header file. */
652 /* Define to 1 if you have the <tpfeq.h> header file. */
655 /* Define to 1 if you have the <tpfio.h> header file. */
658 /* Define if truerand is supported */
661 /* Define to 1 if you have the <unistd.h> header file. */
664 /* Define to 1 if you have the <unix.h> header file. */
667 /* Define to 1 if you have the `unsetenv' function. */
670 /* Define to 1 if you have the `utime' function. */
673 /* Define to 1 if you have the `utimes' function. */
676 /* Define to 1 if you have the `uuid_create' function. */
677 #undef HAVE_UUID_CREATE
679 /* Define to 1 if you have the `uuid_generate' function. */
680 #undef HAVE_UUID_GENERATE
682 /* Define to 1 if you have the <uuid.h> header file. */
685 /* Define to 1 if you have the <uuid/uuid.h> header file. */
686 #undef HAVE_UUID_UUID_H
688 /* Define if C compiler supports VLA */
691 /* Define to 1 if you have the `waitpid' function. */
694 /* Define to 1 if you have the <windows.h> header file. */
695 #undef HAVE_WINDOWS_H
697 /* Define to 1 if you have the <winsock2.h> header file. */
698 #undef HAVE_WINSOCK2_H
700 /* Define to 1 if you have the `writev' function. */
703 /* Define for z/OS pthread API nuances */
704 #undef HAVE_ZOS_PTHREADS
706 /* Define to the sub-directory in which libtool stores uninstalled libraries.
710 /* Define if EAI_ error codes from getaddrinfo are negative */
713 /* Define to the address where bug reports for this package should be sent. */
714 #undef PACKAGE_BUGREPORT
716 /* Define to the full name of this package. */
719 /* Define to the full name and version of this package. */
720 #undef PACKAGE_STRING
722 /* Define to the one symbol short name of this package. */
723 #undef PACKAGE_TARNAME
725 /* Define to the home page for this package. */
728 /* Define to the version of this package. */
729 #undef PACKAGE_VERSION
731 /* Define if POSIX semaphores affect threads within the process */
732 #undef POSIXSEM_IS_GLOBAL
734 /* Define on PowerPC 405 where errata 77 applies */
737 /* Define if pthread_attr_getdetachstate() has one arg */
738 #undef PTHREAD_ATTR_GETDETACHSTATE_TAKES_ONE_ARG
740 /* Define if pthread_getspecific() has two args */
741 #undef PTHREAD_GETSPECIFIC_TAKES_TWO_ARGS
743 /* Define if readdir is thread safe */
744 #undef READDIR_IS_THREAD_SAFE
746 /* Define to 1 if the `setpgrp' function takes no argument. */
750 #undef SIGWAIT_TAKES_ONE_ARG
752 /* The size of `char', as computed by sizeof. */
755 /* The size of ino_t */
758 /* The size of `int', as computed by sizeof. */
761 /* The size of `long', as computed by sizeof. */
764 /* The size of `long long', as computed by sizeof. */
765 #undef SIZEOF_LONG_LONG
767 /* The size of off_t */
770 /* The size of pid_t */
773 /* The size of `short', as computed by sizeof. */
776 /* The size of size_t */
779 /* The size of ssize_t */
780 #undef SIZEOF_SSIZE_T
782 /* The size of struct iovec */
783 #undef SIZEOF_STRUCT_IOVEC
785 /* The size of `void*', as computed by sizeof. */
788 /* If using the C implementation of alloca, define if you know the
789 direction of stack growth for your system; otherwise it will be
790 automatically deduced at runtime.
791 STACK_DIRECTION > 0 => grows toward higher addresses
792 STACK_DIRECTION < 0 => grows toward lower addresses
793 STACK_DIRECTION = 0 => direction of growth unknown */
794 #undef STACK_DIRECTION
796 /* Define to 1 if you have the ANSI C header files. */
799 /* Define if strerror returns int */
800 #undef STRERROR_R_RC_INT
802 /* Define if SysV semaphores affect threads within the process */
803 #undef SYSVSEM_IS_GLOBAL
805 /* Define if use of generic atomics is requested */
806 #undef USE_ATOMICS_GENERIC
808 /* Define if BeOS Semaphores will be used */
811 /* Define if SVR4-style fcntl() will be used */
812 #undef USE_FCNTL_SERIALIZE
814 /* Define if 4.2BSD-style flock() will be used */
815 #undef USE_FLOCK_SERIALIZE
817 /* Define if BeOS areas will be used */
818 #undef USE_SHMEM_BEOS
820 /* Define if BeOS areas will be used */
821 #undef USE_SHMEM_BEOS_ANON
823 /* Define if 4.4BSD-style mmap() via MAP_ANON will be used */
824 #undef USE_SHMEM_MMAP_ANON
826 /* Define if mmap() via POSIX.1 shm_open() on temporary file will be used */
827 #undef USE_SHMEM_MMAP_SHM
829 /* Define if Classical mmap() on temporary file will be used */
830 #undef USE_SHMEM_MMAP_TMP
832 /* Define if SVR4-style mmap() on /dev/zero will be used */
833 #undef USE_SHMEM_MMAP_ZERO
835 /* Define if OS/2 DosAllocSharedMem() will be used */
838 /* Define if OS/2 DosAllocSharedMem() will be used */
839 #undef USE_SHMEM_OS2_ANON
841 /* Define if SysV IPC shmget() will be used */
842 #undef USE_SHMEM_SHMGET
844 /* Define if SysV IPC shmget() will be used */
845 #undef USE_SHMEM_SHMGET_ANON
847 /* Define if Windows shared memory will be used */
848 #undef USE_SHMEM_WIN32
850 /* Define if Windows CreateFileMapping() will be used */
851 #undef USE_SHMEM_WIN32_ANON
853 /* Enable extensions on AIX 3, Interix. */
857 /* Enable GNU extensions on systems that have them. */
861 /* Enable threading extensions on Solaris. */
862 #ifndef _POSIX_PTHREAD_SEMANTICS
863 # undef _POSIX_PTHREAD_SEMANTICS
865 /* Enable extensions on HP NonStop. */
866 #ifndef _TANDEM_SOURCE
867 # undef _TANDEM_SOURCE
869 /* Enable general extensions on Solaris. */
870 #ifndef __EXTENSIONS__
871 # undef __EXTENSIONS__
875 /* Define if SysV IPC semget() will be used */
876 #undef USE_SYSVSEM_SERIALIZE
878 /* Define if apr_wait_for_io_or_timeout() uses poll(2) */
879 #undef WAITIO_USES_POLL
881 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
882 significant byte first (like Motorola and SPARC, unlike Intel). */
883 #if defined AC_APPLE_UNIVERSAL_BUILD
884 # if defined __BIG_ENDIAN__
885 # define WORDS_BIGENDIAN 1
888 # ifndef WORDS_BIGENDIAN
889 # undef WORDS_BIGENDIAN
893 /* Define to 1 if on MINIX. */
896 /* Define to 2 if the system does not provide POSIX.1 features except with
898 #undef _POSIX_1_SOURCE
900 /* Define to 1 if you need to in order for `stat' and other things to work. */
903 /* Define to empty if `const' does not conform to ANSI C. */
906 /* Define to `int' if <sys/types.h> doesn't define. */
909 /* Define to `__inline__' or `__inline' if that's what the C compiler
910 calls it, or to nothing if 'inline' is not supported under any name. */
915 /* Define to `long int' if <sys/types.h> does not define. */
918 /* Define to `int' if <sys/types.h> does not define. */
921 /* Define to `unsigned int' if <sys/types.h> does not define. */
924 /* Define to `int' if <sys/types.h> does not define. */
927 /* Define to `int' if <sys/types.h> doesn't define. */
931 /* switch this on if we have a BeOS version below BONE */
932 #if BEOS && !HAVE_BONE_VERSION
939 * Darwin 10's default compiler (gcc42) builds for both 64 and
940 * 32 bit architectures unless specifically told not to.
941 * In those cases, we need to override types depending on how
942 * we're being built at compile time.
943 * NOTE: This is an ugly work-around for Darwin's
944 * concept of universal binaries, a single package
945 * (executable, lib, etc...) which contains both 32
946 * and 64 bit versions. The issue is that if APR is
947 * built universally, if something else is compiled
948 * against it, some bit sizes will depend on whether
949 * it is 32 or 64 bit. This is determined by the __LP64__
950 * flag. Since we need to support both, we have to
951 * handle OS X unqiuely.
955 #undef APR_OFF_T_STRFN
956 #undef APR_INT64_STRFN
959 #undef SIZEOF_SSIZE_T
961 #undef SIZEOF_STRUCT_IOVEC
964 #define APR_INT64_STRFN strtol
965 #define SIZEOF_LONG 8
966 #define SIZEOF_SIZE_T 8
967 #define SIZEOF_SSIZE_T 8
968 #define SIZEOF_VOIDP 8
969 #define SIZEOF_STRUCT_IOVEC 16
971 #define APR_INT64_STRFN strtoll
972 #define SIZEOF_LONG 4
973 #define SIZEOF_SIZE_T 4
974 #define SIZEOF_SSIZE_T 4
975 #define SIZEOF_VOIDP 4
976 #define SIZEOF_STRUCT_IOVEC 8
979 #undef APR_OFF_T_STRFN
980 #define APR_OFF_T_STRFN APR_INT64_STRFN
984 #ifdef __DARWIN_UNIX03
985 #define SETPGRP_VOID 1
987 /* #undef SETPGRP_VOID */
990 #endif /* DARWIN_10 */
993 * Include common private declarations.
995 #include "../apr_private_common.h"
996 #endif /* APR_PRIVATE_H */