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