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