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