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. */
11 /* Define if building universal (internal helper macro) */
12 /* #undef AC_APPLE_UNIVERSAL_BUILD */
14 /* Define if apr_allocator should use mmap */
15 /* #undef APR_ALLOCATOR_USES_MMAP */
17 /* Define as function which can be used for conversion of strings to
19 #define APR_INT64_STRFN strtol
21 /* Define as function used for conversion of strings to apr_off_t */
22 #define APR_OFF_T_STRFN strtol
24 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
25 systems. This function is required for `alloca.c' support on those systems.
27 /* #undef CRAY_STACKSEG_END */
29 /* Define to 1 if using `alloca.c'. */
32 /* Define to path of random device */
33 #define DEV_RANDOM "/dev/urandom"
35 /* Define if struct dirent has an inode member */
36 #define DIRENT_INODE d_fileno
38 /* Define if struct dirent has a d_type member */
39 #define DIRENT_TYPE d_type
41 /* Define if DSO support uses dlfcn.h */
42 /* #undef DSO_USE_DLFCN */
44 /* Define if DSO support uses dyld.h */
45 /* #undef DSO_USE_DYLD */
47 /* Define if DSO support uses shl_load */
48 /* #undef DSO_USE_SHL */
50 /* Define to list of paths to EGD sockets */
51 /* #undef EGD_DEFAULT_SOCKET */
53 /* Define if fcntl locks affect threads within the process */
54 /* #undef FCNTL_IS_GLOBAL */
56 /* Define if fcntl returns EACCES when F_SETLK is already held */
57 /* #undef FCNTL_TRYACQUIRE_EACCES */
59 /* Define if flock locks affect threads within the process */
60 /* #undef FLOCK_IS_GLOBAL */
62 /* Define if gethostbyaddr is thread safe */
63 /* #undef GETHOSTBYADDR_IS_THREAD_SAFE */
65 /* Define if gethostbyname is thread safe */
66 /* #undef GETHOSTBYNAME_IS_THREAD_SAFE */
68 /* Define if gethostbyname_r has the glibc style */
69 #define GETHOSTBYNAME_R_GLIBC2 1
71 /* Define if gethostbyname_r has the hostent_data for the third argument */
72 /* #undef GETHOSTBYNAME_R_HOSTENT_DATA */
74 /* Define if getservbyname is thread safe */
75 /* #undef GETSERVBYNAME_IS_THREAD_SAFE */
77 /* Define if getservbyname_r has the glibc style */
78 #define GETSERVBYNAME_R_GLIBC2 1
80 /* Define if getservbyname_r has the OSF/1 style */
81 /* #undef GETSERVBYNAME_R_OSF1 */
83 /* Define if getservbyname_r has the Solaris style */
84 /* #undef GETSERVBYNAME_R_SOLARIS */
86 /* Define if accept4 function is supported */
87 #define HAVE_ACCEPT4 1
89 /* Define to 1 if you have `alloca', as a function or macro. */
92 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
94 /* #undef HAVE_ALLOCA_H */
96 /* Define to 1 if you have the <arpa/inet.h> header file. */
97 #define HAVE_ARPA_INET_H 1
99 /* Define if compiler provides atomic builtins */
100 #if !defined(__mips__) && !defined(__arm__)
101 #define HAVE_ATOMIC_BUILTINS 1
104 /* Define if BONE_VERSION is defined in sys/socket.h */
105 /* #undef HAVE_BONE_VERSION */
107 /* Define to 1 if you have the <ByteOrder.h> header file. */
108 /* #undef HAVE_BYTEORDER_H */
110 /* Define to 1 if you have the `calloc' function. */
111 #define HAVE_CALLOC 1
113 /* Define to 1 if you have the <conio.h> header file. */
114 /* #undef HAVE_CONIO_H */
116 /* Define to 1 if you have the `create_area' function. */
117 /* #undef HAVE_CREATE_AREA */
119 /* Define to 1 if you have the `create_sem' function. */
120 /* #undef HAVE_CREATE_SEM */
122 /* Define to 1 if you have the <crypt.h> header file. */
123 /* #undef HAVE_CRYPT_H */
125 /* Define to 1 if you have the <ctype.h> header file. */
126 #define HAVE_CTYPE_H 1
128 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
130 #define HAVE_DECL_SYS_SIGLIST 1
132 /* Define to 1 if you have the <dirent.h> header file. */
133 #define HAVE_DIRENT_H 1
135 /* Define to 1 if you have the <dir.h> header file. */
136 /* #undef HAVE_DIR_H */
138 /* Define to 1 if you have the <dlfcn.h> header file. */
139 #define HAVE_DLFCN_H 1
141 /* Define to 1 if you have the <dl.h> header file. */
142 /* #undef HAVE_DL_H */
144 /* Define if dup3 function is supported */
145 /* #undef HAVE_DUP3 */
147 /* Define if EGD is supported */
148 /* #undef HAVE_EGD */
150 /* Define if the epoll interface is supported */
151 /* #undef HAVE_EPOLL */
153 /* Define if epoll_create1 function is supported */
154 /* #undef HAVE_EPOLL_CREATE1 */
156 /* Define to 1 if you have the <errno.h> header file. */
157 #define HAVE_ERRNO_H 1
159 /* Define to 1 if you have the <fcntl.h> header file. */
160 #define HAVE_FCNTL_H 1
162 /* Define to 1 if you have the `fdatasync' function. */
163 /* #undef HAVE_FDATASYNC */
165 /* Define to 1 if you have the `flock' function. */
168 /* Define to 1 if you have the `fork' function. */
171 /* Define if F_SETLK is defined in fcntl.h */
172 #define HAVE_F_SETLK 1
174 /* Define if getaddrinfo accepts the AI_ADDRCONFIG flag */
175 #define HAVE_GAI_ADDRCONFIG 1
177 /* Define to 1 if you have the `gai_strerror' function. */
178 #define HAVE_GAI_STRERROR 1
180 /* Define if getaddrinfo exists and works well enough for APR */
181 #define HAVE_GETADDRINFO 1
183 /* Define to 1 if you have the `getenv' function. */
184 #define HAVE_GETENV 1
186 /* Define to 1 if you have the `getgrgid_r' function. */
187 #define HAVE_GETGRGID_R 1
189 /* Define to 1 if you have the `getgrnam_r' function. */
190 #define HAVE_GETGRNAM_R 1
192 /* Define to 1 if you have the `gethostbyaddr_r' function. */
193 #define HAVE_GETHOSTBYADDR_R 1
195 /* Define to 1 if you have the `gethostbyname_r' function. */
196 #define HAVE_GETHOSTBYNAME_R 1
198 /* Define to 1 if you have the `getifaddrs' function. */
199 #define HAVE_GETIFADDRS 1
201 /* Define if getnameinfo exists */
202 #define HAVE_GETNAMEINFO 1
204 /* Define to 1 if you have the `getpass' function. */
205 #define HAVE_GETPASS 1
207 /* Define to 1 if you have the `getpassphrase' function. */
208 /* #undef HAVE_GETPASSPHRASE */
210 /* Define to 1 if you have the `getpwnam_r' function. */
211 #define HAVE_GETPWNAM_R 1
213 /* Define to 1 if you have the `getpwuid_r' function. */
214 #define HAVE_GETPWUID_R 1
216 /* Define to 1 if you have the `getrlimit' function. */
217 #define HAVE_GETRLIMIT 1
219 /* Define to 1 if you have the `getservbyname_r' function. */
220 #define HAVE_GETSERVBYNAME_R 1
222 /* Define to 1 if you have the `gmtime_r' function. */
223 #define HAVE_GMTIME_R 1
225 /* Define to 1 if you have the <grp.h> header file. */
228 /* Define if hstrerror is present */
229 /* #undef HAVE_HSTRERROR */
231 /* Define to 1 if you have the <inttypes.h> header file. */
232 #define HAVE_INTTYPES_H 1
234 /* Define to 1 if you have the <io.h> header file. */
235 /* #undef HAVE_IO_H */
237 /* Define to 1 if you have the `isinf' function. */
240 /* Define to 1 if you have the `isnan' function. */
243 /* Define to 1 if you have the <kernel/OS.h> header file. */
244 /* #undef HAVE_KERNEL_OS_H */
246 /* Define to 1 if you have the `kqueue' function. */
247 #define HAVE_KQUEUE 1
249 /* Define to 1 if you have the <langinfo.h> header file. */
250 #define HAVE_LANGINFO_H 1
252 /* Define to 1 if you have the `bsd' library (-lbsd). */
253 /* #undef HAVE_LIBBSD */
255 /* Define to 1 if you have the `sendfile' library (-lsendfile). */
256 /* #undef HAVE_LIBSENDFILE */
258 /* Define to 1 if you have the `truerand' library (-ltruerand). */
259 /* #undef HAVE_LIBTRUERAND */
261 /* Define to 1 if you have the <limits.h> header file. */
262 #define HAVE_LIMITS_H 1
264 /* Define to 1 if you have the `localtime_r' function. */
265 #define HAVE_LOCALTIME_R 1
267 /* Define if LOCK_EX is defined in sys/file.h */
268 #define HAVE_LOCK_EX 1
270 /* Define to 1 if you have the <mach-o/dyld.h> header file. */
271 /* #undef HAVE_MACH_O_DYLD_H */
273 /* Define to 1 if you have the <malloc.h> header file. */
274 /* #undef HAVE_MALLOC_H */
276 /* Define if MAP_ANON is defined in sys/mman.h */
277 #define HAVE_MAP_ANON 1
279 /* Define to 1 if you have the `memchr' function. */
280 #define HAVE_MEMCHR 1
282 /* Define to 1 if you have the `memmove' function. */
283 #define HAVE_MEMMOVE 1
285 /* Define to 1 if you have the <memory.h> header file. */
286 #define HAVE_MEMORY_H 1
288 /* Define to 1 if you have the `mkstemp' function. */
289 #define HAVE_MKSTEMP 1
291 /* Define to 1 if you have the `mkstemp64' function. */
292 /* #undef HAVE_MKSTEMP64 */
294 /* Define to 1 if you have the `mmap' function. */
297 /* Define to 1 if you have the `mmap64' function. */
298 /* #undef HAVE_MMAP64 */
300 /* Define to 1 if you have the `munmap' function. */
301 #define HAVE_MUNMAP 1
303 /* Define to 1 if you have the <netdb.h> header file. */
304 #define HAVE_NETDB_H 1
306 /* Define to 1 if you have the <netinet/in.h> header file. */
307 #define HAVE_NETINET_IN_H 1
309 /* Define to 1 if you have the <netinet/sctp.h> header file. */
310 #define HAVE_NETINET_SCTP_H 1
312 /* Define to 1 if you have the <netinet/sctp_uio.h> header file. */
313 #define HAVE_NETINET_SCTP_UIO_H 1
315 /* Defined if netinet/tcp.h is present */
316 #define HAVE_NETINET_TCP_H 1
318 /* Define to 1 if you have the <net/errno.h> header file. */
319 /* #undef HAVE_NET_ERRNO_H */
321 /* Define to 1 if you have the `nl_langinfo' function. */
322 #define HAVE_NL_LANGINFO 1
324 /* Define to 1 if you have the <os2.h> header file. */
325 /* #undef HAVE_OS2_H */
327 /* Define to 1 if you have the <osreldate.h> header file. */
328 #define HAVE_OSRELDATE_H 1
330 /* Define to 1 if you have the <OS.h> header file. */
331 /* #undef HAVE_OS_H */
333 /* Define to 1 if you have the `poll' function. */
336 /* Define if POLLIN is defined */
337 #define HAVE_POLLIN 1
339 /* Define to 1 if you have the <poll.h> header file. */
340 #define HAVE_POLL_H 1
342 /* Define to 1 if you have the `port_create' function. */
343 /* #undef HAVE_PORT_CREATE */
345 /* Define to 1 if you have the <process.h> header file. */
346 /* #undef HAVE_PROCESS_H */
348 /* Define to 1 if you have the `pthread_attr_setguardsize' function. */
349 #define HAVE_PTHREAD_ATTR_SETGUARDSIZE 1
351 /* Define to 1 if you have the <pthread.h> header file. */
352 #define HAVE_PTHREAD_H 1
354 /* Define to 1 if you have the `pthread_key_delete' function. */
355 #define HAVE_PTHREAD_KEY_DELETE 1
357 /* Define to 1 if you have the `pthread_mutexattr_setpshared' function. */
358 #define HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1
360 /* Define if recursive pthread mutexes are available */
361 #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
363 /* Define if cross-process robust mutexes are available */
364 /* #undef HAVE_PTHREAD_MUTEX_ROBUST */
366 /* Define if PTHREAD_PROCESS_SHARED is defined in pthread.h */
367 #define HAVE_PTHREAD_PROCESS_SHARED 1
369 /* Define if pthread rwlocks are available */
370 #define HAVE_PTHREAD_RWLOCKS 1
372 /* Define to 1 if you have the `pthread_rwlock_init' function. */
373 #define HAVE_PTHREAD_RWLOCK_INIT 1
375 /* Define to 1 if you have the `pthread_yield' function. */
376 #define HAVE_PTHREAD_YIELD 1
378 /* Define to 1 if you have the `putenv' function. */
379 #define HAVE_PUTENV 1
381 /* Define to 1 if you have the <pwd.h> header file. */
384 /* Define to 1 if you have the `readdir64_r' function. */
385 /* #undef HAVE_READDIR64_R */
387 /* Define to 1 if you have the <sched.h> header file. */
388 /* #undef HAVE_SCHED_H */
390 /* Define to 1 if you have the `sched_yield' function. */
391 /* #undef HAVE_SCHED_YIELD */
393 /* Define to 1 if you have the <semaphore.h> header file. */
394 #define HAVE_SEMAPHORE_H 1
396 /* Define to 1 if you have the `semctl' function. */
397 #define HAVE_SEMCTL 1
399 /* Define to 1 if you have the `semget' function. */
400 #define HAVE_SEMGET 1
402 /* Define to 1 if you have the `sem_close' function. */
403 #define HAVE_SEM_CLOSE 1
405 /* Define to 1 if you have the `sem_post' function. */
406 #define HAVE_SEM_POST 1
408 /* Define if SEM_UNDO is defined in sys/sem.h */
409 #define HAVE_SEM_UNDO 1
411 /* Define to 1 if you have the `sem_unlink' function. */
412 #define HAVE_SEM_UNLINK 1
414 /* Define to 1 if you have the `sem_wait' function. */
415 #define HAVE_SEM_WAIT 1
417 /* Define to 1 if you have the `sendfile' function. */
418 #define HAVE_SENDFILE 1
420 /* Define to 1 if you have the `sendfile64' function. */
421 /* #undef HAVE_SENDFILE64 */
423 /* Define to 1 if you have the `sendfilev' function. */
424 /* #undef HAVE_SENDFILEV */
426 /* Define to 1 if you have the `sendfilev64' function. */
427 /* #undef HAVE_SENDFILEV64 */
429 /* Define to 1 if you have the `send_file' function. */
430 /* #undef HAVE_SEND_FILE */
432 /* Define to 1 if you have the `setenv' function. */
433 #define HAVE_SETENV 1
435 /* Define to 1 if you have the `setrlimit' function. */
436 #define HAVE_SETRLIMIT 1
438 /* Define to 1 if you have the `setsid' function. */
439 #define HAVE_SETSID 1
441 /* Define to 1 if you have the `set_h_errno' function. */
442 /* #undef HAVE_SET_H_ERRNO */
444 /* Define to 1 if you have the `shmat' function. */
447 /* Define to 1 if you have the `shmctl' function. */
448 #define HAVE_SHMCTL 1
450 /* Define to 1 if you have the `shmdt' function. */
453 /* Define to 1 if you have the `shmget' function. */
454 #define HAVE_SHMGET 1
456 /* Define to 1 if you have the `shm_open' function. */
457 #define HAVE_SHM_OPEN 1
459 /* Define to 1 if you have the `shm_unlink' function. */
460 #define HAVE_SHM_UNLINK 1
462 /* Define to 1 if you have the `sigaction' function. */
463 #define HAVE_SIGACTION 1
465 /* Define to 1 if you have the <signal.h> header file. */
466 #define HAVE_SIGNAL_H 1
468 /* Define to 1 if you have the `sigsuspend' function. */
469 #define HAVE_SIGSUSPEND 1
471 /* Define to 1 if you have the `sigwait' function. */
472 #define HAVE_SIGWAIT 1
474 /* Whether you have socklen_t */
475 #define HAVE_SOCKLEN_T 1
477 /* Define if the SOCK_CLOEXEC flag is supported */
478 #define HAVE_SOCK_CLOEXEC 1
480 /* Define if SO_ACCEPTFILTER is defined in sys/socket.h */
481 #define HAVE_SO_ACCEPTFILTER 1
483 /* Define to 1 if you have the <stdarg.h> header file. */
484 #define HAVE_STDARG_H 1
486 /* Define to 1 if you have the <stddef.h> header file. */
487 #define HAVE_STDDEF_H 1
489 /* Define to 1 if you have the <stdint.h> header file. */
490 #define HAVE_STDINT_H 1
492 /* Define to 1 if you have the <stdio.h> header file. */
493 #define HAVE_STDIO_H 1
495 /* Define to 1 if you have the <stdlib.h> header file. */
496 #define HAVE_STDLIB_H 1
498 /* Define to 1 if you have the `strcasecmp' function. */
499 #define HAVE_STRCASECMP 1
501 /* Define to 1 if you have the `strdup' function. */
502 #define HAVE_STRDUP 1
504 /* Define to 1 if you have the `strerror_r' function. */
505 #define HAVE_STRERROR_R 1
507 /* Define to 1 if you have the `stricmp' function. */
508 /* #undef HAVE_STRICMP */
510 /* Define to 1 if you have the <strings.h> header file. */
511 #define HAVE_STRINGS_H 1
513 /* Define to 1 if you have the <string.h> header file. */
514 #define HAVE_STRING_H 1
516 /* Define to 1 if you have the `strncasecmp' function. */
517 #define HAVE_STRNCASECMP 1
519 /* Define to 1 if you have the `strnicmp' function. */
520 /* #undef HAVE_STRNICMP */
522 /* Define to 1 if you have the `strstr' function. */
523 #define HAVE_STRSTR 1
525 /* Define if struct impreq was found */
526 #define HAVE_STRUCT_IPMREQ 1
528 /* Define to 1 if `st_atimensec' is a member of `struct stat'. */
529 /* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */
531 /* Define to 1 if `st_atime_n' is a member of `struct stat'. */
532 /* #undef HAVE_STRUCT_STAT_ST_ATIME_N */
534 /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
535 #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
537 /* Define to 1 if `st_blocks' is a member of `struct stat'. */
538 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
540 /* Define to 1 if `st_ctimensec' is a member of `struct stat'. */
541 /* #undef HAVE_STRUCT_STAT_ST_CTIMENSEC */
543 /* Define to 1 if `st_ctime_n' is a member of `struct stat'. */
544 /* #undef HAVE_STRUCT_STAT_ST_CTIME_N */
546 /* Define to 1 if `st_ctim.tv_nsec' is a member of `struct stat'. */
547 #define HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC 1
549 /* Define to 1 if `st_mtimensec' is a member of `struct stat'. */
550 /* #undef HAVE_STRUCT_STAT_ST_MTIMENSEC */
552 /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */
553 /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */
555 /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */
556 #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
558 /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
559 #define HAVE_STRUCT_TM_TM_GMTOFF 1
561 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */
562 /* #undef HAVE_STRUCT_TM___TM_GMTOFF */
564 /* Define to 1 if you have the <sysapi.h> header file. */
565 /* #undef HAVE_SYSAPI_H */
567 /* Define to 1 if you have the <sysgtime.h> header file. */
568 /* #undef HAVE_SYSGTIME_H */
570 /* Define to 1 if you have the <sys/file.h> header file. */
571 #define HAVE_SYS_FILE_H 1
573 /* Define to 1 if you have the <sys/ioctl.h> header file. */
574 #define HAVE_SYS_IOCTL_H 1
576 /* Define to 1 if you have the <sys/ipc.h> header file. */
577 #define HAVE_SYS_IPC_H 1
579 /* Define to 1 if you have the <sys/mman.h> header file. */
580 #define HAVE_SYS_MMAN_H 1
582 /* Define to 1 if you have the <sys/mutex.h> header file. */
583 #define HAVE_SYS_MUTEX_H 1
585 /* Define to 1 if you have the <sys/param.h> header file. */
586 #define HAVE_SYS_PARAM_H 1
588 /* Define to 1 if you have the <sys/poll.h> header file. */
589 #define HAVE_SYS_POLL_H 1
591 /* Define to 1 if you have the <sys/resource.h> header file. */
592 #define HAVE_SYS_RESOURCE_H 1
594 /* Define to 1 if you have the <sys/select.h> header file. */
595 #define HAVE_SYS_SELECT_H 1
597 /* Define to 1 if you have the <sys/sem.h> header file. */
598 #define HAVE_SYS_SEM_H 1
600 /* Define to 1 if you have the <sys/sendfile.h> header file. */
601 /* #undef HAVE_SYS_SENDFILE_H */
603 /* Define to 1 if you have the <sys/shm.h> header file. */
604 #define HAVE_SYS_SHM_H 1
606 /* Define to 1 if you have the <sys/signal.h> header file. */
607 #define HAVE_SYS_SIGNAL_H 1
609 /* Define to 1 if you have the <sys/socket.h> header file. */
610 #define HAVE_SYS_SOCKET_H 1
612 /* Define to 1 if you have the <sys/sockio.h> header file. */
613 #define HAVE_SYS_SOCKIO_H 1
615 /* Define to 1 if you have the <sys/stat.h> header file. */
616 #define HAVE_SYS_STAT_H 1
618 /* Define to 1 if you have the <sys/sysctl.h> header file. */
619 #define HAVE_SYS_SYSCTL_H 1
621 /* Define to 1 if you have the <sys/syslimits.h> header file. */
622 #define HAVE_SYS_SYSLIMITS_H 1
624 /* Define to 1 if you have the <sys/time.h> header file. */
625 #define HAVE_SYS_TIME_H 1
627 /* Define to 1 if you have the <sys/types.h> header file. */
628 #define HAVE_SYS_TYPES_H 1
630 /* Define to 1 if you have the <sys/uio.h> header file. */
631 #define HAVE_SYS_UIO_H 1
633 /* Define to 1 if you have the <sys/un.h> header file. */
634 #define HAVE_SYS_UN_H 1
636 /* Define to 1 if you have the <sys/uuid.h> header file. */
637 /* #undef HAVE_SYS_UUID_H */
639 /* Define to 1 if you have the <sys/wait.h> header file. */
640 #define HAVE_SYS_WAIT_H 1
642 /* Define if TCP_CORK is defined in netinet/tcp.h */
643 /* #undef HAVE_TCP_CORK */
645 /* Define if TCP_NODELAY and TCP_CORK can be enabled at the same time */
646 /* #undef HAVE_TCP_NODELAY_WITH_CORK */
648 /* Define if TCP_NOPUSH is defined in netinet/tcp.h */
649 #define HAVE_TCP_NOPUSH 1
651 /* Define to 1 if you have the <termios.h> header file. */
652 #define HAVE_TERMIOS_H 1
654 /* Define to 1 if you have the <time.h> header file. */
655 #define HAVE_TIME_H 1
657 /* Define to 1 if you have the <tpfeq.h> header file. */
658 /* #undef HAVE_TPFEQ_H */
660 /* Define to 1 if you have the <tpfio.h> header file. */
661 /* #undef HAVE_TPFIO_H */
663 /* Define if truerand is supported */
664 /* #undef HAVE_TRUERAND */
666 /* Define to 1 if you have the <unistd.h> header file. */
667 #define HAVE_UNISTD_H 1
669 /* Define to 1 if you have the <unix.h> header file. */
670 /* #undef HAVE_UNIX_H */
672 /* Define to 1 if you have the `unsetenv' function. */
673 #define HAVE_UNSETENV 1
675 /* Define to 1 if you have the `utime' function. */
678 /* Define to 1 if you have the `utimes' function. */
679 #define HAVE_UTIMES 1
681 /* Define to 1 if you have the `uuid_create' function. */
682 #define HAVE_UUID_CREATE 1
684 /* Define to 1 if you have the `uuid_generate' function. */
685 /* #undef HAVE_UUID_GENERATE */
687 /* Define to 1 if you have the <uuid.h> header file. */
688 #define HAVE_UUID_H 1
690 /* Define to 1 if you have the <uuid/uuid.h> header file. */
691 /* #undef HAVE_UUID_UUID_H */
693 /* Define if C compiler supports VLA */
696 /* Define to 1 if you have the `waitpid' function. */
697 #define HAVE_WAITPID 1
699 /* Define to 1 if you have the <windows.h> header file. */
700 /* #undef HAVE_WINDOWS_H */
702 /* Define to 1 if you have the <winsock2.h> header file. */
703 /* #undef HAVE_WINSOCK2_H */
705 /* Define to 1 if you have the `writev' function. */
706 #define HAVE_WRITEV 1
708 /* Define for z/OS pthread API nuances */
709 /* #undef HAVE_ZOS_PTHREADS */
711 /* Define to the sub-directory in which libtool stores uninstalled libraries.
713 #define LT_OBJDIR ".libs/"
715 /* Define if EAI_ error codes from getaddrinfo are negative */
716 /* #undef NEGATIVE_EAI */
718 /* Define to the address where bug reports for this package should be sent. */
719 #define PACKAGE_BUGREPORT ""
721 /* Define to the full name of this package. */
722 #define PACKAGE_NAME ""
724 /* Define to the full name and version of this package. */
725 #define PACKAGE_STRING ""
727 /* Define to the one symbol short name of this package. */
728 #define PACKAGE_TARNAME ""
730 /* Define to the home page for this package. */
731 #define PACKAGE_URL ""
733 /* Define to the version of this package. */
734 #define PACKAGE_VERSION ""
736 /* Define if POSIX semaphores affect threads within the process */
737 /* #undef POSIXSEM_IS_GLOBAL */
739 /* Define on PowerPC 405 where errata 77 applies */
740 /* #undef PPC405_ERRATA */
742 /* Define if pthread_attr_getdetachstate() has one arg */
743 /* #undef PTHREAD_ATTR_GETDETACHSTATE_TAKES_ONE_ARG */
745 /* Define if pthread_getspecific() has two args */
746 /* #undef PTHREAD_GETSPECIFIC_TAKES_TWO_ARGS */
748 /* Define if readdir is thread safe */
749 /* #undef READDIR_IS_THREAD_SAFE */
751 /* Define to 1 if the `setpgrp' function takes no argument. */
752 /* #undef SETPGRP_VOID */
755 /* #undef SIGWAIT_TAKES_ONE_ARG */
757 /* The size of `char', as computed by sizeof. */
758 #define SIZEOF_CHAR 1
760 /* The size of ino_t */
761 #define SIZEOF_INO_T 4
763 /* The size of `int', as computed by sizeof. */
766 /* The size of `long', as computed by sizeof. */
767 #define SIZEOF_LONG 8
769 /* The size of `long long', as computed by sizeof. */
770 #define SIZEOF_LONG_LONG 8
772 /* The size of off_t */
773 #define SIZEOF_OFF_T 8
775 /* The size of pid_t */
776 #define SIZEOF_PID_T 4
778 /* The size of `short', as computed by sizeof. */
779 #define SIZEOF_SHORT 2
781 /* The size of size_t */
782 #define SIZEOF_SIZE_T 8
784 /* The size of ssize_t */
785 #define SIZEOF_SSIZE_T 8
787 /* The size of struct iovec */
788 #define SIZEOF_STRUCT_IOVEC 16
790 /* The size of `void*', as computed by sizeof. */
791 #define SIZEOF_VOIDP 8
793 /* If using the C implementation of alloca, define if you know the
794 direction of stack growth for your system; otherwise it will be
795 automatically deduced at runtime.
796 STACK_DIRECTION > 0 => grows toward higher addresses
797 STACK_DIRECTION < 0 => grows toward lower addresses
798 STACK_DIRECTION = 0 => direction of growth unknown */
799 /* #undef STACK_DIRECTION */
801 /* Define to 1 if you have the ANSI C header files. */
802 #define STDC_HEADERS 1
804 /* Define if strerror returns int */
805 #define STRERROR_R_RC_INT 1
807 /* Define if SysV semaphores affect threads within the process */
808 /* #undef SYSVSEM_IS_GLOBAL */
810 /* Define if use of generic atomics is requested */
811 /* #undef USE_ATOMICS_GENERIC */
813 /* Define if BeOS Semaphores will be used */
814 /* #undef USE_BEOSSEM */
816 /* Define if SVR4-style fcntl() will be used */
817 /* #undef USE_FCNTL_SERIALIZE */
819 /* Define if 4.2BSD-style flock() will be used */
820 #define USE_FLOCK_SERIALIZE 1
822 /* Define if BeOS areas will be used */
823 /* #undef USE_SHMEM_BEOS */
825 /* Define if BeOS areas will be used */
826 /* #undef USE_SHMEM_BEOS_ANON */
828 /* Define if 4.4BSD-style mmap() via MAP_ANON will be used */
829 #define USE_SHMEM_MMAP_ANON 1
831 /* Define if mmap() via POSIX.1 shm_open() on temporary file will be used */
832 /* #undef USE_SHMEM_MMAP_SHM */
834 /* Define if Classical mmap() on temporary file will be used */
835 /* #undef USE_SHMEM_MMAP_TMP */
837 /* Define if SVR4-style mmap() on /dev/zero will be used */
838 /* #undef USE_SHMEM_MMAP_ZERO */
840 /* Define if OS/2 DosAllocSharedMem() will be used */
841 /* #undef USE_SHMEM_OS2 */
843 /* Define if OS/2 DosAllocSharedMem() will be used */
844 /* #undef USE_SHMEM_OS2_ANON */
846 /* Define if SysV IPC shmget() will be used */
847 #define USE_SHMEM_SHMGET 1
849 /* Define if SysV IPC shmget() will be used */
850 /* #undef USE_SHMEM_SHMGET_ANON */
852 /* Define if Windows shared memory will be used */
853 /* #undef USE_SHMEM_WIN32 */
855 /* Define if Windows CreateFileMapping() will be used */
856 /* #undef USE_SHMEM_WIN32_ANON */
858 /* Enable extensions on AIX 3, Interix. */
860 # define _ALL_SOURCE 1
862 /* Enable GNU extensions on systems that have them. */
864 # define _GNU_SOURCE 1
866 /* Enable threading extensions on Solaris. */
867 #ifndef _POSIX_PTHREAD_SEMANTICS
868 # define _POSIX_PTHREAD_SEMANTICS 1
870 /* Enable extensions on HP NonStop. */
871 #ifndef _TANDEM_SOURCE
872 # define _TANDEM_SOURCE 1
874 /* Enable general extensions on Solaris. */
875 #ifndef __EXTENSIONS__
876 # define __EXTENSIONS__ 1
880 /* Define if SysV IPC semget() will be used */
881 /* #undef USE_SYSVSEM_SERIALIZE */
883 /* Define if apr_wait_for_io_or_timeout() uses poll(2) */
884 #define WAITIO_USES_POLL 1
886 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
887 significant byte first (like Motorola and SPARC, unlike Intel). */
888 #if defined AC_APPLE_UNIVERSAL_BUILD
889 # if defined __BIG_ENDIAN__
890 # define WORDS_BIGENDIAN 1
893 # ifndef WORDS_BIGENDIAN
894 /* # undef WORDS_BIGENDIAN */
898 /* Define to 1 if on MINIX. */
901 /* Define to 2 if the system does not provide POSIX.1 features except with
903 /* #undef _POSIX_1_SOURCE */
905 /* Define to 1 if you need to in order for `stat' and other things to work. */
906 /* #undef _POSIX_SOURCE */
908 /* Define to empty if `const' does not conform to ANSI C. */
911 /* Define to `int' if <sys/types.h> doesn't define. */
914 /* Define to `__inline__' or `__inline' if that's what the C compiler
915 calls it, or to nothing if 'inline' is not supported under any name. */
920 /* Define to `long int' if <sys/types.h> does not define. */
923 /* Define to `int' if <sys/types.h> does not define. */
926 /* Define to `unsigned int' if <sys/types.h> does not define. */
929 /* Define to `int' if <sys/types.h> does not define. */
932 /* Define to `int' if <sys/types.h> doesn't define. */
936 /* switch this on if we have a BeOS version below BONE */
937 #if BEOS && !HAVE_BONE_VERSION
944 * Darwin 10's default compiler (gcc42) builds for both 64 and
945 * 32 bit architectures unless specifically told not to.
946 * In those cases, we need to override types depending on how
947 * we're being built at compile time.
948 * NOTE: This is an ugly work-around for Darwin's
949 * concept of universal binaries, a single package
950 * (executable, lib, etc...) which contains both 32
951 * and 64 bit versions. The issue is that if APR is
952 * built universally, if something else is compiled
953 * against it, some bit sizes will depend on whether
954 * it is 32 or 64 bit. This is determined by the __LP64__
955 * flag. Since we need to support both, we have to
956 * handle OS X unqiuely.
960 #define APR_OFF_T_STRFN strtol
961 #define APR_INT64_STRFN strtol
962 #define SIZEOF_LONG 8
963 #define SIZEOF_SIZE_T 8
964 #define SIZEOF_SSIZE_T 8
965 #define SIZEOF_VOIDP 8
966 #define SIZEOF_STRUCT_IOVEC 16
969 #define APR_INT64_STRFN strtol
970 #define SIZEOF_LONG 8
971 #define SIZEOF_SIZE_T 8
972 #define SIZEOF_SSIZE_T 8
973 #define SIZEOF_VOIDP 8
974 #define SIZEOF_STRUCT_IOVEC 16
976 #define APR_INT64_STRFN strtol
977 #define SIZEOF_LONG 8
978 #define SIZEOF_SIZE_T 8
979 #define SIZEOF_SSIZE_T 8
980 #define SIZEOF_VOIDP 8
981 #define SIZEOF_STRUCT_IOVEC 16
984 #define APR_OFF_T_STRFN strtol
985 #define APR_OFF_T_STRFN strtol
988 /* #undef SETPGRP_VOID */
989 #ifdef __DARWIN_UNIX03
990 #define SETPGRP_VOID 1
992 /* #undef SETPGRP_VOID */
995 #endif /* DARWIN_10 */
998 * Include common private declarations.
1000 #include "../apr_private_common.h"
1001 #endif /* APR_PRIVATE_H */