1251875Speter/* include/arch/unix/apr_private.h.in.  Generated from configure.in by autoheader.  */
2251875Speter
3251875Speter
4251875Speter#ifndef APR_PRIVATE_H
5251875Speter#define APR_PRIVATE_H
6251875Speter
7251875Speter
8251875Speter/* Define if building universal (internal helper macro) */
9251875Speter#undef AC_APPLE_UNIVERSAL_BUILD
10251875Speter
11362181Sdim/* Define if apr_allocator should use guard pages */
12362181Sdim#undef APR_ALLOCATOR_GUARD_PAGES
13362181Sdim
14251875Speter/* Define if apr_allocator should use mmap */
15251875Speter#undef APR_ALLOCATOR_USES_MMAP
16251875Speter
17251875Speter/* Define as function which can be used for conversion of strings to
18251875Speter   apr_int64_t */
19251875Speter#undef APR_INT64_STRFN
20251875Speter
21251875Speter/* Define as function used for conversion of strings to apr_off_t */
22251875Speter#undef APR_OFF_T_STRFN
23251875Speter
24362181Sdim/* Define if pool functions should abort if concurrent usage is detected */
25362181Sdim#undef APR_POOL_CONCURRENCY_CHECK
26362181Sdim
27251875Speter/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
28251875Speter   systems. This function is required for `alloca.c' support on those systems.
29251875Speter   */
30251875Speter#undef CRAY_STACKSEG_END
31251875Speter
32251875Speter/* Define to 1 if using `alloca.c'. */
33251875Speter#undef C_ALLOCA
34251875Speter
35251875Speter/* Define to path of random device */
36251875Speter#undef DEV_RANDOM
37251875Speter
38251875Speter/* Define if struct dirent has an inode member */
39251875Speter#undef DIRENT_INODE
40251875Speter
41251875Speter/* Define if struct dirent has a d_type member */
42251875Speter#undef DIRENT_TYPE
43251875Speter
44251875Speter/* Define if DSO support uses dlfcn.h */
45251875Speter#undef DSO_USE_DLFCN
46251875Speter
47251875Speter/* Define if DSO support uses dyld.h */
48251875Speter#undef DSO_USE_DYLD
49251875Speter
50251875Speter/* Define if DSO support uses shl_load */
51251875Speter#undef DSO_USE_SHL
52251875Speter
53251875Speter/* Define to list of paths to EGD sockets */
54251875Speter#undef EGD_DEFAULT_SOCKET
55251875Speter
56251875Speter/* Define if fcntl locks affect threads within the process */
57251875Speter#undef FCNTL_IS_GLOBAL
58251875Speter
59251875Speter/* Define if fcntl returns EACCES when F_SETLK is already held */
60251875Speter#undef FCNTL_TRYACQUIRE_EACCES
61251875Speter
62251875Speter/* Define if flock locks affect threads within the process */
63251875Speter#undef FLOCK_IS_GLOBAL
64251875Speter
65251875Speter/* Define if gethostbyaddr is thread safe */
66251875Speter#undef GETHOSTBYADDR_IS_THREAD_SAFE
67251875Speter
68251875Speter/* Define if gethostbyname is thread safe */
69251875Speter#undef GETHOSTBYNAME_IS_THREAD_SAFE
70251875Speter
71251875Speter/* Define if gethostbyname_r has the glibc style */
72251875Speter#undef GETHOSTBYNAME_R_GLIBC2
73251875Speter
74251875Speter/* Define if gethostbyname_r has the hostent_data for the third argument */
75251875Speter#undef GETHOSTBYNAME_R_HOSTENT_DATA
76251875Speter
77251875Speter/* Define if getservbyname is thread safe */
78251875Speter#undef GETSERVBYNAME_IS_THREAD_SAFE
79251875Speter
80251875Speter/* Define if getservbyname_r has the glibc style */
81251875Speter#undef GETSERVBYNAME_R_GLIBC2
82251875Speter
83251875Speter/* Define if getservbyname_r has the OSF/1 style */
84251875Speter#undef GETSERVBYNAME_R_OSF1
85251875Speter
86251875Speter/* Define if getservbyname_r has the Solaris style */
87251875Speter#undef GETSERVBYNAME_R_SOLARIS
88251875Speter
89251875Speter/* Define if accept4 function is supported */
90251875Speter#undef HAVE_ACCEPT4
91251875Speter
92362181Sdim/* Define to 1 if you have the `acquire_sem' function. */
93362181Sdim#undef HAVE_ACQUIRE_SEM
94362181Sdim
95362181Sdim/* Define to 1 if you have the `acquire_sem_etc' function. */
96362181Sdim#undef HAVE_ACQUIRE_SEM_ETC
97362181Sdim
98266735Speter/* Define if async i/o supports message q's */
99266735Speter#undef HAVE_AIO_MSGQ
100266735Speter
101251875Speter/* Define to 1 if you have `alloca', as a function or macro. */
102251875Speter#undef HAVE_ALLOCA
103251875Speter
104251875Speter/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
105251875Speter   */
106251875Speter#undef HAVE_ALLOCA_H
107251875Speter
108362181Sdim/* Define to 1 if you have the `arc4random_buf' function. */
109362181Sdim#undef HAVE_ARC4RANDOM_BUF
110362181Sdim
111251875Speter/* Define to 1 if you have the <arpa/inet.h> header file. */
112251875Speter#undef HAVE_ARPA_INET_H
113251875Speter
114251875Speter/* Define if compiler provides atomic builtins */
115251875Speter#undef HAVE_ATOMIC_BUILTINS
116251875Speter
117251875Speter/* Define if BONE_VERSION is defined in sys/socket.h */
118251875Speter#undef HAVE_BONE_VERSION
119251875Speter
120251875Speter/* Define to 1 if you have the <ByteOrder.h> header file. */
121251875Speter#undef HAVE_BYTEORDER_H
122251875Speter
123251875Speter/* Define to 1 if you have the `calloc' function. */
124251875Speter#undef HAVE_CALLOC
125251875Speter
126251875Speter/* Define to 1 if you have the <conio.h> header file. */
127251875Speter#undef HAVE_CONIO_H
128251875Speter
129251875Speter/* Define to 1 if you have the `create_area' function. */
130251875Speter#undef HAVE_CREATE_AREA
131251875Speter
132251875Speter/* Define to 1 if you have the `create_sem' function. */
133251875Speter#undef HAVE_CREATE_SEM
134251875Speter
135251875Speter/* Define to 1 if you have the <crypt.h> header file. */
136251875Speter#undef HAVE_CRYPT_H
137251875Speter
138251875Speter/* Define to 1 if you have the <ctype.h> header file. */
139251875Speter#undef HAVE_CTYPE_H
140251875Speter
141362181Sdim/* Define to 1 if you have the declaration of `SYS_getrandom', and to 0 if you
142362181Sdim   don't. */
143362181Sdim#undef HAVE_DECL_SYS_GETRANDOM
144362181Sdim
145251875Speter/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
146251875Speter   don't. */
147251875Speter#undef HAVE_DECL_SYS_SIGLIST
148251875Speter
149251875Speter/* Define to 1 if you have the <dirent.h> header file. */
150251875Speter#undef HAVE_DIRENT_H
151251875Speter
152251875Speter/* Define to 1 if you have the <dir.h> header file. */
153251875Speter#undef HAVE_DIR_H
154251875Speter
155251875Speter/* Define to 1 if you have the <dlfcn.h> header file. */
156251875Speter#undef HAVE_DLFCN_H
157251875Speter
158251875Speter/* Define to 1 if you have the <dl.h> header file. */
159251875Speter#undef HAVE_DL_H
160251875Speter
161251875Speter/* Define if dup3 function is supported */
162251875Speter#undef HAVE_DUP3
163251875Speter
164251875Speter/* Define if EGD is supported */
165251875Speter#undef HAVE_EGD
166251875Speter
167251875Speter/* Define if the epoll interface is supported */
168251875Speter#undef HAVE_EPOLL
169251875Speter
170251875Speter/* Define if epoll_create1 function is supported */
171251875Speter#undef HAVE_EPOLL_CREATE1
172251875Speter
173251875Speter/* Define to 1 if you have the <errno.h> header file. */
174251875Speter#undef HAVE_ERRNO_H
175251875Speter
176251875Speter/* Define to 1 if you have the <fcntl.h> header file. */
177251875Speter#undef HAVE_FCNTL_H
178251875Speter
179251875Speter/* Define to 1 if you have the `fdatasync' function. */
180251875Speter#undef HAVE_FDATASYNC
181251875Speter
182251875Speter/* Define to 1 if you have the `flock' function. */
183251875Speter#undef HAVE_FLOCK
184251875Speter
185251875Speter/* Define to 1 if you have the `fork' function. */
186251875Speter#undef HAVE_FORK
187251875Speter
188251875Speter/* Define if F_SETLK is defined in fcntl.h */
189251875Speter#undef HAVE_F_SETLK
190251875Speter
191251875Speter/* Define if getaddrinfo accepts the AI_ADDRCONFIG flag */
192251875Speter#undef HAVE_GAI_ADDRCONFIG
193251875Speter
194251875Speter/* Define to 1 if you have the `gai_strerror' function. */
195251875Speter#undef HAVE_GAI_STRERROR
196251875Speter
197251875Speter/* Define if getaddrinfo exists and works well enough for APR */
198251875Speter#undef HAVE_GETADDRINFO
199251875Speter
200251875Speter/* Define to 1 if you have the `getenv' function. */
201251875Speter#undef HAVE_GETENV
202251875Speter
203251875Speter/* Define to 1 if you have the `getgrgid_r' function. */
204251875Speter#undef HAVE_GETGRGID_R
205251875Speter
206251875Speter/* Define to 1 if you have the `getgrnam_r' function. */
207251875Speter#undef HAVE_GETGRNAM_R
208251875Speter
209251875Speter/* Define to 1 if you have the `gethostbyaddr_r' function. */
210251875Speter#undef HAVE_GETHOSTBYADDR_R
211251875Speter
212251875Speter/* Define to 1 if you have the `gethostbyname_r' function. */
213251875Speter#undef HAVE_GETHOSTBYNAME_R
214251875Speter
215251875Speter/* Define to 1 if you have the `getifaddrs' function. */
216251875Speter#undef HAVE_GETIFADDRS
217251875Speter
218251875Speter/* Define if getnameinfo exists */
219251875Speter#undef HAVE_GETNAMEINFO
220251875Speter
221251875Speter/* Define to 1 if you have the `getpass' function. */
222251875Speter#undef HAVE_GETPASS
223251875Speter
224251875Speter/* Define to 1 if you have the `getpassphrase' function. */
225251875Speter#undef HAVE_GETPASSPHRASE
226251875Speter
227251875Speter/* Define to 1 if you have the `getpwnam_r' function. */
228251875Speter#undef HAVE_GETPWNAM_R
229251875Speter
230251875Speter/* Define to 1 if you have the `getpwuid_r' function. */
231251875Speter#undef HAVE_GETPWUID_R
232251875Speter
233362181Sdim/* Define to 1 if you have the `getrandom' function. */
234362181Sdim#undef HAVE_GETRANDOM
235362181Sdim
236251875Speter/* Define to 1 if you have the `getrlimit' function. */
237251875Speter#undef HAVE_GETRLIMIT
238251875Speter
239251875Speter/* Define to 1 if you have the `getservbyname_r' function. */
240251875Speter#undef HAVE_GETSERVBYNAME_R
241251875Speter
242251875Speter/* Define to 1 if you have the `gmtime_r' function. */
243251875Speter#undef HAVE_GMTIME_R
244251875Speter
245251875Speter/* Define to 1 if you have the <grp.h> header file. */
246251875Speter#undef HAVE_GRP_H
247251875Speter
248251875Speter/* Define if hstrerror is present */
249251875Speter#undef HAVE_HSTRERROR
250251875Speter
251362181Sdim/* Define to 1 if you have the `if_indextoname' function. */
252362181Sdim#undef HAVE_IF_INDEXTONAME
253362181Sdim
254362181Sdim/* Define to 1 if you have the `if_nametoindex' function. */
255362181Sdim#undef HAVE_IF_NAMETOINDEX
256362181Sdim
257251875Speter/* Define to 1 if you have the <inttypes.h> header file. */
258251875Speter#undef HAVE_INTTYPES_H
259251875Speter
260251875Speter/* Define to 1 if you have the <io.h> header file. */
261251875Speter#undef HAVE_IO_H
262251875Speter
263251875Speter/* Define to 1 if you have the `isinf' function. */
264251875Speter#undef HAVE_ISINF
265251875Speter
266251875Speter/* Define to 1 if you have the `isnan' function. */
267251875Speter#undef HAVE_ISNAN
268251875Speter
269251875Speter/* Define to 1 if you have the <kernel/OS.h> header file. */
270251875Speter#undef HAVE_KERNEL_OS_H
271251875Speter
272251875Speter/* Define to 1 if you have the `kqueue' function. */
273251875Speter#undef HAVE_KQUEUE
274251875Speter
275251875Speter/* Define to 1 if you have the <langinfo.h> header file. */
276251875Speter#undef HAVE_LANGINFO_H
277251875Speter
278251875Speter/* Define to 1 if you have the `bsd' library (-lbsd). */
279251875Speter#undef HAVE_LIBBSD
280251875Speter
281251875Speter/* Define to 1 if you have the `sendfile' library (-lsendfile). */
282251875Speter#undef HAVE_LIBSENDFILE
283251875Speter
284251875Speter/* Define to 1 if you have the `truerand' library (-ltruerand). */
285251875Speter#undef HAVE_LIBTRUERAND
286251875Speter
287251875Speter/* Define to 1 if you have the <limits.h> header file. */
288251875Speter#undef HAVE_LIMITS_H
289251875Speter
290362181Sdim/* Define to 1 if you have the <linux/random.h> header file. */
291362181Sdim#undef HAVE_LINUX_RANDOM_H
292362181Sdim
293251875Speter/* Define to 1 if you have the `localtime_r' function. */
294251875Speter#undef HAVE_LOCALTIME_R
295251875Speter
296251875Speter/* Define if LOCK_EX is defined in sys/file.h */
297251875Speter#undef HAVE_LOCK_EX
298251875Speter
299251875Speter/* Define to 1 if you have the <mach-o/dyld.h> header file. */
300251875Speter#undef HAVE_MACH_O_DYLD_H
301251875Speter
302251875Speter/* Define to 1 if you have the <malloc.h> header file. */
303251875Speter#undef HAVE_MALLOC_H
304251875Speter
305251875Speter/* Define if MAP_ANON is defined in sys/mman.h */
306251875Speter#undef HAVE_MAP_ANON
307251875Speter
308362181Sdim/* Define to 1 if you have the <memcheck.h> header file. */
309362181Sdim#undef HAVE_MEMCHECK_H
310362181Sdim
311251875Speter/* Define to 1 if you have the `memchr' function. */
312251875Speter#undef HAVE_MEMCHR
313251875Speter
314251875Speter/* Define to 1 if you have the `memmove' function. */
315251875Speter#undef HAVE_MEMMOVE
316251875Speter
317251875Speter/* Define to 1 if you have the <memory.h> header file. */
318251875Speter#undef HAVE_MEMORY_H
319251875Speter
320251875Speter/* Define to 1 if you have the `mkstemp' function. */
321251875Speter#undef HAVE_MKSTEMP
322251875Speter
323251875Speter/* Define to 1 if you have the `mkstemp64' function. */
324251875Speter#undef HAVE_MKSTEMP64
325251875Speter
326251875Speter/* Define to 1 if you have the `mmap' function. */
327251875Speter#undef HAVE_MMAP
328251875Speter
329251875Speter/* Define to 1 if you have the `mmap64' function. */
330251875Speter#undef HAVE_MMAP64
331251875Speter
332362181Sdim/* Define to 1 if you have the `mprotect' function. */
333362181Sdim#undef HAVE_MPROTECT
334362181Sdim
335251875Speter/* Define to 1 if you have the `munmap' function. */
336251875Speter#undef HAVE_MUNMAP
337251875Speter
338251875Speter/* Define to 1 if you have the <netdb.h> header file. */
339251875Speter#undef HAVE_NETDB_H
340251875Speter
341251875Speter/* Define to 1 if you have the <netinet/in.h> header file. */
342251875Speter#undef HAVE_NETINET_IN_H
343251875Speter
344251875Speter/* Define to 1 if you have the <netinet/sctp.h> header file. */
345251875Speter#undef HAVE_NETINET_SCTP_H
346251875Speter
347251875Speter/* Define to 1 if you have the <netinet/sctp_uio.h> header file. */
348251875Speter#undef HAVE_NETINET_SCTP_UIO_H
349251875Speter
350251875Speter/* Defined if netinet/tcp.h is present */
351251875Speter#undef HAVE_NETINET_TCP_H
352251875Speter
353251875Speter/* Define to 1 if you have the <net/errno.h> header file. */
354251875Speter#undef HAVE_NET_ERRNO_H
355251875Speter
356362181Sdim/* Define to 1 if you have the <net/if.h> header file. */
357362181Sdim#undef HAVE_NET_IF_H
358362181Sdim
359251875Speter/* Define to 1 if you have the `nl_langinfo' function. */
360251875Speter#undef HAVE_NL_LANGINFO
361251875Speter
362251875Speter/* Define to 1 if you have the <os2.h> header file. */
363251875Speter#undef HAVE_OS2_H
364251875Speter
365251875Speter/* Define to 1 if you have the <osreldate.h> header file. */
366251875Speter#undef HAVE_OSRELDATE_H
367251875Speter
368251875Speter/* Define to 1 if you have the <OS.h> header file. */
369251875Speter#undef HAVE_OS_H
370251875Speter
371251875Speter/* Define to 1 if you have the `poll' function. */
372251875Speter#undef HAVE_POLL
373251875Speter
374251875Speter/* Define if POLLIN is defined */
375251875Speter#undef HAVE_POLLIN
376251875Speter
377251875Speter/* Define to 1 if you have the <poll.h> header file. */
378251875Speter#undef HAVE_POLL_H
379251875Speter
380251875Speter/* Define to 1 if you have the `port_create' function. */
381251875Speter#undef HAVE_PORT_CREATE
382251875Speter
383251875Speter/* Define to 1 if you have the <process.h> header file. */
384251875Speter#undef HAVE_PROCESS_H
385251875Speter
386251875Speter/* Define to 1 if you have the `pthread_attr_setguardsize' function. */
387251875Speter#undef HAVE_PTHREAD_ATTR_SETGUARDSIZE
388251875Speter
389362181Sdim/* Define to 1 if you have the `pthread_condattr_setpshared' function. */
390362181Sdim#undef HAVE_PTHREAD_CONDATTR_SETPSHARED
391362181Sdim
392251875Speter/* Define to 1 if you have the <pthread.h> header file. */
393251875Speter#undef HAVE_PTHREAD_H
394251875Speter
395251875Speter/* Define to 1 if you have the `pthread_key_delete' function. */
396251875Speter#undef HAVE_PTHREAD_KEY_DELETE
397251875Speter
398251875Speter/* Define to 1 if you have the `pthread_mutexattr_setpshared' function. */
399251875Speter#undef HAVE_PTHREAD_MUTEXATTR_SETPSHARED
400251875Speter
401251875Speter/* Define if recursive pthread mutexes are available */
402251875Speter#undef HAVE_PTHREAD_MUTEX_RECURSIVE
403251875Speter
404251875Speter/* Define if cross-process robust mutexes are available */
405251875Speter#undef HAVE_PTHREAD_MUTEX_ROBUST
406251875Speter
407362181Sdim/* Define if non-posix/portable cross-process robust mutexes are available */
408362181Sdim#undef HAVE_PTHREAD_MUTEX_ROBUST_NP
409362181Sdim
410362181Sdim/* Define to 1 if you have the `pthread_mutex_timedlock' function. */
411362181Sdim#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
412362181Sdim
413251875Speter/* Define if PTHREAD_PROCESS_SHARED is defined in pthread.h */
414251875Speter#undef HAVE_PTHREAD_PROCESS_SHARED
415251875Speter
416251875Speter/* Define if pthread rwlocks are available */
417251875Speter#undef HAVE_PTHREAD_RWLOCKS
418251875Speter
419251875Speter/* Define to 1 if you have the `pthread_rwlock_init' function. */
420251875Speter#undef HAVE_PTHREAD_RWLOCK_INIT
421251875Speter
422251875Speter/* Define to 1 if you have the `pthread_yield' function. */
423251875Speter#undef HAVE_PTHREAD_YIELD
424251875Speter
425251875Speter/* Define to 1 if you have the `putenv' function. */
426251875Speter#undef HAVE_PUTENV
427251875Speter
428251875Speter/* Define to 1 if you have the <pwd.h> header file. */
429251875Speter#undef HAVE_PWD_H
430251875Speter
431251875Speter/* Define to 1 if you have the `readdir64_r' function. */
432251875Speter#undef HAVE_READDIR64_R
433251875Speter
434251875Speter/* Define to 1 if you have the <sched.h> header file. */
435251875Speter#undef HAVE_SCHED_H
436251875Speter
437251875Speter/* Define to 1 if you have the `sched_yield' function. */
438251875Speter#undef HAVE_SCHED_YIELD
439251875Speter
440251875Speter/* Define to 1 if you have the <semaphore.h> header file. */
441251875Speter#undef HAVE_SEMAPHORE_H
442251875Speter
443251875Speter/* Define to 1 if you have the `semctl' function. */
444251875Speter#undef HAVE_SEMCTL
445251875Speter
446251875Speter/* Define to 1 if you have the `semget' function. */
447251875Speter#undef HAVE_SEMGET
448251875Speter
449362181Sdim/* Define to 1 if you have the `semop' function. */
450362181Sdim#undef HAVE_SEMOP
451362181Sdim
452362181Sdim/* Define to 1 if you have the `semtimedop' function. */
453362181Sdim#undef HAVE_SEMTIMEDOP
454362181Sdim
455251875Speter/* Define to 1 if you have the `sem_close' function. */
456251875Speter#undef HAVE_SEM_CLOSE
457251875Speter
458251875Speter/* Define to 1 if you have the `sem_post' function. */
459251875Speter#undef HAVE_SEM_POST
460251875Speter
461362181Sdim/* Define to 1 if you have the `sem_timedwait' function. */
462362181Sdim#undef HAVE_SEM_TIMEDWAIT
463362181Sdim
464251875Speter/* Define if SEM_UNDO is defined in sys/sem.h */
465251875Speter#undef HAVE_SEM_UNDO
466251875Speter
467251875Speter/* Define to 1 if you have the `sem_unlink' function. */
468251875Speter#undef HAVE_SEM_UNLINK
469251875Speter
470251875Speter/* Define to 1 if you have the `sem_wait' function. */
471251875Speter#undef HAVE_SEM_WAIT
472251875Speter
473251875Speter/* Define to 1 if you have the `sendfile' function. */
474251875Speter#undef HAVE_SENDFILE
475251875Speter
476251875Speter/* Define to 1 if you have the `sendfile64' function. */
477251875Speter#undef HAVE_SENDFILE64
478251875Speter
479251875Speter/* Define to 1 if you have the `sendfilev' function. */
480251875Speter#undef HAVE_SENDFILEV
481251875Speter
482251875Speter/* Define to 1 if you have the `sendfilev64' function. */
483251875Speter#undef HAVE_SENDFILEV64
484251875Speter
485251875Speter/* Define to 1 if you have the `send_file' function. */
486251875Speter#undef HAVE_SEND_FILE
487251875Speter
488251875Speter/* Define to 1 if you have the `setenv' function. */
489251875Speter#undef HAVE_SETENV
490251875Speter
491251875Speter/* Define to 1 if you have the `setrlimit' function. */
492251875Speter#undef HAVE_SETRLIMIT
493251875Speter
494251875Speter/* Define to 1 if you have the `setsid' function. */
495251875Speter#undef HAVE_SETSID
496251875Speter
497251875Speter/* Define to 1 if you have the `set_h_errno' function. */
498251875Speter#undef HAVE_SET_H_ERRNO
499251875Speter
500251875Speter/* Define to 1 if you have the `shmat' function. */
501251875Speter#undef HAVE_SHMAT
502251875Speter
503251875Speter/* Define to 1 if you have the `shmctl' function. */
504251875Speter#undef HAVE_SHMCTL
505251875Speter
506251875Speter/* Define to 1 if you have the `shmdt' function. */
507251875Speter#undef HAVE_SHMDT
508251875Speter
509251875Speter/* Define to 1 if you have the `shmget' function. */
510251875Speter#undef HAVE_SHMGET
511251875Speter
512251875Speter/* Define to 1 if you have the `shm_open' function. */
513251875Speter#undef HAVE_SHM_OPEN
514251875Speter
515251875Speter/* Define to 1 if you have the `shm_unlink' function. */
516251875Speter#undef HAVE_SHM_UNLINK
517251875Speter
518251875Speter/* Define to 1 if you have the `sigaction' function. */
519251875Speter#undef HAVE_SIGACTION
520251875Speter
521251875Speter/* Define to 1 if you have the <signal.h> header file. */
522251875Speter#undef HAVE_SIGNAL_H
523251875Speter
524251875Speter/* Define to 1 if you have the `sigsuspend' function. */
525251875Speter#undef HAVE_SIGSUSPEND
526251875Speter
527251875Speter/* Define to 1 if you have the `sigwait' function. */
528251875Speter#undef HAVE_SIGWAIT
529251875Speter
530251875Speter/* Whether you have socklen_t */
531251875Speter#undef HAVE_SOCKLEN_T
532251875Speter
533251875Speter/* Define if the SOCK_CLOEXEC flag is supported */
534251875Speter#undef HAVE_SOCK_CLOEXEC
535251875Speter
536251875Speter/* Define if SO_ACCEPTFILTER is defined in sys/socket.h */
537251875Speter#undef HAVE_SO_ACCEPTFILTER
538251875Speter
539251875Speter/* Define to 1 if you have the <stdarg.h> header file. */
540251875Speter#undef HAVE_STDARG_H
541251875Speter
542251875Speter/* Define to 1 if you have the <stddef.h> header file. */
543251875Speter#undef HAVE_STDDEF_H
544251875Speter
545251875Speter/* Define to 1 if you have the <stdint.h> header file. */
546251875Speter#undef HAVE_STDINT_H
547251875Speter
548251875Speter/* Define to 1 if you have the <stdio.h> header file. */
549251875Speter#undef HAVE_STDIO_H
550251875Speter
551251875Speter/* Define to 1 if you have the <stdlib.h> header file. */
552251875Speter#undef HAVE_STDLIB_H
553251875Speter
554251875Speter/* Define to 1 if you have the `strcasecmp' function. */
555251875Speter#undef HAVE_STRCASECMP
556251875Speter
557251875Speter/* Define to 1 if you have the `strdup' function. */
558251875Speter#undef HAVE_STRDUP
559251875Speter
560251875Speter/* Define to 1 if you have the `strerror_r' function. */
561251875Speter#undef HAVE_STRERROR_R
562251875Speter
563251875Speter/* Define to 1 if you have the `stricmp' function. */
564251875Speter#undef HAVE_STRICMP
565251875Speter
566251875Speter/* Define to 1 if you have the <strings.h> header file. */
567251875Speter#undef HAVE_STRINGS_H
568251875Speter
569251875Speter/* Define to 1 if you have the <string.h> header file. */
570251875Speter#undef HAVE_STRING_H
571251875Speter
572251875Speter/* Define to 1 if you have the `strncasecmp' function. */
573251875Speter#undef HAVE_STRNCASECMP
574251875Speter
575251875Speter/* Define to 1 if you have the `strnicmp' function. */
576251875Speter#undef HAVE_STRNICMP
577251875Speter
578251875Speter/* Define to 1 if you have the `strstr' function. */
579251875Speter#undef HAVE_STRSTR
580251875Speter
581251875Speter/* Define if struct impreq was found */
582251875Speter#undef HAVE_STRUCT_IPMREQ
583251875Speter
584251875Speter/* Define to 1 if `st_atimensec' is a member of `struct stat'. */
585251875Speter#undef HAVE_STRUCT_STAT_ST_ATIMENSEC
586251875Speter
587251875Speter/* Define to 1 if `st_atime_n' is a member of `struct stat'. */
588251875Speter#undef HAVE_STRUCT_STAT_ST_ATIME_N
589251875Speter
590251875Speter/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
591251875Speter#undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
592251875Speter
593251875Speter/* Define to 1 if `st_blocks' is a member of `struct stat'. */
594251875Speter#undef HAVE_STRUCT_STAT_ST_BLOCKS
595251875Speter
596251875Speter/* Define to 1 if `st_ctimensec' is a member of `struct stat'. */
597251875Speter#undef HAVE_STRUCT_STAT_ST_CTIMENSEC
598251875Speter
599251875Speter/* Define to 1 if `st_ctime_n' is a member of `struct stat'. */
600251875Speter#undef HAVE_STRUCT_STAT_ST_CTIME_N
601251875Speter
602251875Speter/* Define to 1 if `st_ctim.tv_nsec' is a member of `struct stat'. */
603251875Speter#undef HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC
604251875Speter
605251875Speter/* Define to 1 if `st_mtimensec' is a member of `struct stat'. */
606251875Speter#undef HAVE_STRUCT_STAT_ST_MTIMENSEC
607251875Speter
608251875Speter/* Define to 1 if `st_mtime_n' is a member of `struct stat'. */
609251875Speter#undef HAVE_STRUCT_STAT_ST_MTIME_N
610251875Speter
611251875Speter/* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */
612251875Speter#undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
613251875Speter
614251875Speter/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
615251875Speter#undef HAVE_STRUCT_TM_TM_GMTOFF
616251875Speter
617251875Speter/* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */
618251875Speter#undef HAVE_STRUCT_TM___TM_GMTOFF
619251875Speter
620251875Speter/* Define to 1 if you have the <sysapi.h> header file. */
621251875Speter#undef HAVE_SYSAPI_H
622251875Speter
623251875Speter/* Define to 1 if you have the <sysgtime.h> header file. */
624251875Speter#undef HAVE_SYSGTIME_H
625251875Speter
626251875Speter/* Define to 1 if you have the <sys/file.h> header file. */
627251875Speter#undef HAVE_SYS_FILE_H
628251875Speter
629251875Speter/* Define to 1 if you have the <sys/ioctl.h> header file. */
630251875Speter#undef HAVE_SYS_IOCTL_H
631251875Speter
632251875Speter/* Define to 1 if you have the <sys/ipc.h> header file. */
633251875Speter#undef HAVE_SYS_IPC_H
634251875Speter
635251875Speter/* Define to 1 if you have the <sys/mman.h> header file. */
636251875Speter#undef HAVE_SYS_MMAN_H
637251875Speter
638251875Speter/* Define to 1 if you have the <sys/mutex.h> header file. */
639251875Speter#undef HAVE_SYS_MUTEX_H
640251875Speter
641251875Speter/* Define to 1 if you have the <sys/param.h> header file. */
642251875Speter#undef HAVE_SYS_PARAM_H
643251875Speter
644251875Speter/* Define to 1 if you have the <sys/poll.h> header file. */
645251875Speter#undef HAVE_SYS_POLL_H
646251875Speter
647362181Sdim/* Define to 1 if you have the <sys/random.h> header file. */
648362181Sdim#undef HAVE_SYS_RANDOM_H
649362181Sdim
650251875Speter/* Define to 1 if you have the <sys/resource.h> header file. */
651251875Speter#undef HAVE_SYS_RESOURCE_H
652251875Speter
653251875Speter/* Define to 1 if you have the <sys/select.h> header file. */
654251875Speter#undef HAVE_SYS_SELECT_H
655251875Speter
656251875Speter/* Define to 1 if you have the <sys/sem.h> header file. */
657251875Speter#undef HAVE_SYS_SEM_H
658251875Speter
659251875Speter/* Define to 1 if you have the <sys/sendfile.h> header file. */
660251875Speter#undef HAVE_SYS_SENDFILE_H
661251875Speter
662251875Speter/* Define to 1 if you have the <sys/shm.h> header file. */
663251875Speter#undef HAVE_SYS_SHM_H
664251875Speter
665251875Speter/* Define to 1 if you have the <sys/signal.h> header file. */
666251875Speter#undef HAVE_SYS_SIGNAL_H
667251875Speter
668251875Speter/* Define to 1 if you have the <sys/socket.h> header file. */
669251875Speter#undef HAVE_SYS_SOCKET_H
670251875Speter
671251875Speter/* Define to 1 if you have the <sys/sockio.h> header file. */
672251875Speter#undef HAVE_SYS_SOCKIO_H
673251875Speter
674251875Speter/* Define to 1 if you have the <sys/stat.h> header file. */
675251875Speter#undef HAVE_SYS_STAT_H
676251875Speter
677362181Sdim/* Define to 1 if you have the <sys/syscall.h> header file. */
678362181Sdim#undef HAVE_SYS_SYSCALL_H
679362181Sdim
680251875Speter/* Define to 1 if you have the <sys/sysctl.h> header file. */
681251875Speter#undef HAVE_SYS_SYSCTL_H
682251875Speter
683251875Speter/* Define to 1 if you have the <sys/syslimits.h> header file. */
684251875Speter#undef HAVE_SYS_SYSLIMITS_H
685251875Speter
686251875Speter/* Define to 1 if you have the <sys/time.h> header file. */
687251875Speter#undef HAVE_SYS_TIME_H
688251875Speter
689251875Speter/* Define to 1 if you have the <sys/types.h> header file. */
690251875Speter#undef HAVE_SYS_TYPES_H
691251875Speter
692251875Speter/* Define to 1 if you have the <sys/uio.h> header file. */
693251875Speter#undef HAVE_SYS_UIO_H
694251875Speter
695251875Speter/* Define to 1 if you have the <sys/un.h> header file. */
696251875Speter#undef HAVE_SYS_UN_H
697251875Speter
698251875Speter/* Define to 1 if you have the <sys/uuid.h> header file. */
699251875Speter#undef HAVE_SYS_UUID_H
700251875Speter
701251875Speter/* Define to 1 if you have the <sys/wait.h> header file. */
702251875Speter#undef HAVE_SYS_WAIT_H
703251875Speter
704251875Speter/* Define if TCP_CORK is defined in netinet/tcp.h */
705251875Speter#undef HAVE_TCP_CORK
706251875Speter
707251875Speter/* Define if TCP_NODELAY and TCP_CORK can be enabled at the same time */
708251875Speter#undef HAVE_TCP_NODELAY_WITH_CORK
709251875Speter
710251875Speter/* Define if TCP_NOPUSH is defined in netinet/tcp.h */
711251875Speter#undef HAVE_TCP_NOPUSH
712251875Speter
713251875Speter/* Define to 1 if you have the <termios.h> header file. */
714251875Speter#undef HAVE_TERMIOS_H
715251875Speter
716251875Speter/* Define to 1 if you have the <time.h> header file. */
717251875Speter#undef HAVE_TIME_H
718251875Speter
719251875Speter/* Define to 1 if you have the <tpfeq.h> header file. */
720251875Speter#undef HAVE_TPFEQ_H
721251875Speter
722251875Speter/* Define to 1 if you have the <tpfio.h> header file. */
723251875Speter#undef HAVE_TPFIO_H
724251875Speter
725251875Speter/* Define if truerand is supported */
726251875Speter#undef HAVE_TRUERAND
727251875Speter
728251875Speter/* Define to 1 if you have the <unistd.h> header file. */
729251875Speter#undef HAVE_UNISTD_H
730251875Speter
731251875Speter/* Define to 1 if you have the <unix.h> header file. */
732251875Speter#undef HAVE_UNIX_H
733251875Speter
734251875Speter/* Define to 1 if you have the `unsetenv' function. */
735251875Speter#undef HAVE_UNSETENV
736251875Speter
737251875Speter/* Define to 1 if you have the `utime' function. */
738251875Speter#undef HAVE_UTIME
739251875Speter
740251875Speter/* Define to 1 if you have the `utimes' function. */
741251875Speter#undef HAVE_UTIMES
742251875Speter
743251875Speter/* Define to 1 if you have the `uuid_create' function. */
744251875Speter#undef HAVE_UUID_CREATE
745251875Speter
746251875Speter/* Define to 1 if you have the `uuid_generate' function. */
747251875Speter#undef HAVE_UUID_GENERATE
748251875Speter
749251875Speter/* Define to 1 if you have the <uuid.h> header file. */
750251875Speter#undef HAVE_UUID_H
751251875Speter
752251875Speter/* Define to 1 if you have the <uuid/uuid.h> header file. */
753251875Speter#undef HAVE_UUID_UUID_H
754251875Speter
755362181Sdim/* Compile in valgrind support */
756362181Sdim#undef HAVE_VALGRIND
757362181Sdim
758362181Sdim/* Define to 1 if you have the <valgrind.h> header file. */
759362181Sdim#undef HAVE_VALGRIND_H
760362181Sdim
761251875Speter/* Define if C compiler supports VLA */
762251875Speter#undef HAVE_VLA
763251875Speter
764251875Speter/* Define to 1 if you have the `waitpid' function. */
765251875Speter#undef HAVE_WAITPID
766251875Speter
767251875Speter/* Define to 1 if you have the <windows.h> header file. */
768251875Speter#undef HAVE_WINDOWS_H
769251875Speter
770251875Speter/* Define to 1 if you have the <winsock2.h> header file. */
771251875Speter#undef HAVE_WINSOCK2_H
772251875Speter
773251875Speter/* Define to 1 if you have the `writev' function. */
774251875Speter#undef HAVE_WRITEV
775251875Speter
776251875Speter/* Define for z/OS pthread API nuances */
777251875Speter#undef HAVE_ZOS_PTHREADS
778251875Speter
779362181Sdim/* Define to the sub-directory where libtool stores uninstalled libraries. */
780251875Speter#undef LT_OBJDIR
781251875Speter
782251875Speter/* Define if EAI_ error codes from getaddrinfo are negative */
783251875Speter#undef NEGATIVE_EAI
784251875Speter
785251875Speter/* Define to the address where bug reports for this package should be sent. */
786251875Speter#undef PACKAGE_BUGREPORT
787251875Speter
788251875Speter/* Define to the full name of this package. */
789251875Speter#undef PACKAGE_NAME
790251875Speter
791251875Speter/* Define to the full name and version of this package. */
792251875Speter#undef PACKAGE_STRING
793251875Speter
794251875Speter/* Define to the one symbol short name of this package. */
795251875Speter#undef PACKAGE_TARNAME
796251875Speter
797251875Speter/* Define to the home page for this package. */
798251875Speter#undef PACKAGE_URL
799251875Speter
800251875Speter/* Define to the version of this package. */
801251875Speter#undef PACKAGE_VERSION
802251875Speter
803251875Speter/* Define if POSIX semaphores affect threads within the process */
804251875Speter#undef POSIXSEM_IS_GLOBAL
805251875Speter
806251875Speter/* Define on PowerPC 405 where errata 77 applies */
807251875Speter#undef PPC405_ERRATA
808251875Speter
809251875Speter/* Define if pthread_attr_getdetachstate() has one arg */
810251875Speter#undef PTHREAD_ATTR_GETDETACHSTATE_TAKES_ONE_ARG
811251875Speter
812251875Speter/* Define if pthread_getspecific() has two args */
813251875Speter#undef PTHREAD_GETSPECIFIC_TAKES_TWO_ARGS
814251875Speter
815362181Sdim/* Modern readdir is thread safe */
816251875Speter#undef READDIR_IS_THREAD_SAFE
817251875Speter
818251875Speter/* Define to 1 if the `setpgrp' function takes no argument. */
819251875Speter#undef SETPGRP_VOID
820251875Speter
821251875Speter/* */
822251875Speter#undef SIGWAIT_TAKES_ONE_ARG
823251875Speter
824251875Speter/* The size of `char', as computed by sizeof. */
825251875Speter#undef SIZEOF_CHAR
826251875Speter
827251875Speter/* The size of ino_t */
828251875Speter#undef SIZEOF_INO_T
829251875Speter
830251875Speter/* The size of `int', as computed by sizeof. */
831251875Speter#undef SIZEOF_INT
832251875Speter
833251875Speter/* The size of `long', as computed by sizeof. */
834251875Speter#undef SIZEOF_LONG
835251875Speter
836251875Speter/* The size of `long long', as computed by sizeof. */
837251875Speter#undef SIZEOF_LONG_LONG
838251875Speter
839251875Speter/* The size of off_t */
840251875Speter#undef SIZEOF_OFF_T
841251875Speter
842251875Speter/* The size of pid_t */
843251875Speter#undef SIZEOF_PID_T
844251875Speter
845251875Speter/* The size of `short', as computed by sizeof. */
846251875Speter#undef SIZEOF_SHORT
847251875Speter
848251875Speter/* The size of size_t */
849251875Speter#undef SIZEOF_SIZE_T
850251875Speter
851251875Speter/* The size of ssize_t */
852251875Speter#undef SIZEOF_SSIZE_T
853251875Speter
854251875Speter/* The size of struct iovec */
855251875Speter#undef SIZEOF_STRUCT_IOVEC
856251875Speter
857251875Speter/* The size of `void*', as computed by sizeof. */
858251875Speter#undef SIZEOF_VOIDP
859251875Speter
860251875Speter/* If using the C implementation of alloca, define if you know the
861251875Speter   direction of stack growth for your system; otherwise it will be
862251875Speter   automatically deduced at runtime.
863251875Speter	STACK_DIRECTION > 0 => grows toward higher addresses
864251875Speter	STACK_DIRECTION < 0 => grows toward lower addresses
865251875Speter	STACK_DIRECTION = 0 => direction of growth unknown */
866251875Speter#undef STACK_DIRECTION
867251875Speter
868251875Speter/* Define to 1 if you have the ANSI C header files. */
869251875Speter#undef STDC_HEADERS
870251875Speter
871251875Speter/* Define if strerror returns int */
872251875Speter#undef STRERROR_R_RC_INT
873251875Speter
874251875Speter/* Define if SysV semaphores affect threads within the process */
875251875Speter#undef SYSVSEM_IS_GLOBAL
876251875Speter
877362181Sdim/* Define system call of random */
878362181Sdim#undef SYS_RANDOM
879362181Sdim
880251875Speter/* Define if use of generic atomics is requested */
881251875Speter#undef USE_ATOMICS_GENERIC
882251875Speter
883251875Speter/* Define if BeOS Semaphores will be used */
884251875Speter#undef USE_BEOSSEM
885251875Speter
886251875Speter/* Define if SVR4-style fcntl() will be used */
887251875Speter#undef USE_FCNTL_SERIALIZE
888251875Speter
889251875Speter/* Define if 4.2BSD-style flock() will be used */
890251875Speter#undef USE_FLOCK_SERIALIZE
891251875Speter
892362181Sdim/* Define if pthread pshared mutex will be used */
893362181Sdim#undef USE_PROC_PTHREAD_SERIALIZE
894362181Sdim
895251875Speter/* Define if BeOS areas will be used */
896251875Speter#undef USE_SHMEM_BEOS
897251875Speter
898251875Speter/* Define if BeOS areas will be used */
899251875Speter#undef USE_SHMEM_BEOS_ANON
900251875Speter
901251875Speter/* Define if 4.4BSD-style mmap() via MAP_ANON will be used */
902251875Speter#undef USE_SHMEM_MMAP_ANON
903251875Speter
904251875Speter/* Define if mmap() via POSIX.1 shm_open() on temporary file will be used */
905251875Speter#undef USE_SHMEM_MMAP_SHM
906251875Speter
907251875Speter/* Define if Classical mmap() on temporary file will be used */
908251875Speter#undef USE_SHMEM_MMAP_TMP
909251875Speter
910251875Speter/* Define if SVR4-style mmap() on /dev/zero will be used */
911251875Speter#undef USE_SHMEM_MMAP_ZERO
912251875Speter
913251875Speter/* Define if OS/2 DosAllocSharedMem() will be used */
914251875Speter#undef USE_SHMEM_OS2
915251875Speter
916251875Speter/* Define if OS/2 DosAllocSharedMem() will be used */
917251875Speter#undef USE_SHMEM_OS2_ANON
918251875Speter
919251875Speter/* Define if SysV IPC shmget() will be used */
920251875Speter#undef USE_SHMEM_SHMGET
921251875Speter
922251875Speter/* Define if SysV IPC shmget() will be used */
923251875Speter#undef USE_SHMEM_SHMGET_ANON
924251875Speter
925251875Speter/* Define if Windows shared memory will be used */
926251875Speter#undef USE_SHMEM_WIN32
927251875Speter
928251875Speter/* Define if Windows CreateFileMapping() will be used */
929251875Speter#undef USE_SHMEM_WIN32_ANON
930251875Speter
931251875Speter/* Enable extensions on AIX 3, Interix.  */
932251875Speter#ifndef _ALL_SOURCE
933251875Speter# undef _ALL_SOURCE
934251875Speter#endif
935251875Speter/* Enable GNU extensions on systems that have them.  */
936251875Speter#ifndef _GNU_SOURCE
937251875Speter# undef _GNU_SOURCE
938251875Speter#endif
939251875Speter/* Enable threading extensions on Solaris.  */
940251875Speter#ifndef _POSIX_PTHREAD_SEMANTICS
941251875Speter# undef _POSIX_PTHREAD_SEMANTICS
942251875Speter#endif
943251875Speter/* Enable extensions on HP NonStop.  */
944251875Speter#ifndef _TANDEM_SOURCE
945251875Speter# undef _TANDEM_SOURCE
946251875Speter#endif
947251875Speter/* Enable general extensions on Solaris.  */
948251875Speter#ifndef __EXTENSIONS__
949251875Speter# undef __EXTENSIONS__
950251875Speter#endif
951251875Speter
952251875Speter
953251875Speter/* Define if SysV IPC semget() will be used */
954251875Speter#undef USE_SYSVSEM_SERIALIZE
955251875Speter
956251875Speter/* Define if apr_wait_for_io_or_timeout() uses poll(2) */
957251875Speter#undef WAITIO_USES_POLL
958251875Speter
959251875Speter/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
960251875Speter   significant byte first (like Motorola and SPARC, unlike Intel). */
961251875Speter#if defined AC_APPLE_UNIVERSAL_BUILD
962251875Speter# if defined __BIG_ENDIAN__
963251875Speter#  define WORDS_BIGENDIAN 1
964251875Speter# endif
965251875Speter#else
966251875Speter# ifndef WORDS_BIGENDIAN
967251875Speter#  undef WORDS_BIGENDIAN
968251875Speter# endif
969251875Speter#endif
970251875Speter
971251875Speter/* Define to 1 if on MINIX. */
972251875Speter#undef _MINIX
973251875Speter
974251875Speter/* Define to 2 if the system does not provide POSIX.1 features except with
975251875Speter   this defined. */
976251875Speter#undef _POSIX_1_SOURCE
977251875Speter
978251875Speter/* Define to 1 if you need to in order for `stat' and other things to work. */
979251875Speter#undef _POSIX_SOURCE
980251875Speter
981251875Speter/* Define to empty if `const' does not conform to ANSI C. */
982251875Speter#undef const
983251875Speter
984251875Speter/* Define to `int' if <sys/types.h> doesn't define. */
985251875Speter#undef gid_t
986251875Speter
987251875Speter/* Define to `__inline__' or `__inline' if that's what the C compiler
988251875Speter   calls it, or to nothing if 'inline' is not supported under any name.  */
989251875Speter#ifndef __cplusplus
990251875Speter#undef inline
991251875Speter#endif
992251875Speter
993251875Speter/* Define to `long int' if <sys/types.h> does not define. */
994251875Speter#undef off_t
995251875Speter
996251875Speter/* Define to `int' if <sys/types.h> does not define. */
997251875Speter#undef pid_t
998251875Speter
999251875Speter/* Define to `unsigned int' if <sys/types.h> does not define. */
1000251875Speter#undef size_t
1001251875Speter
1002251875Speter/* Define to `int' if <sys/types.h> does not define. */
1003251875Speter#undef ssize_t
1004251875Speter
1005251875Speter/* Define to `int' if <sys/types.h> doesn't define. */
1006251875Speter#undef uid_t
1007251875Speter
1008251875Speter
1009251875Speter/* switch this on if we have a BeOS version below BONE */
1010266735Speter#if defined(BEOS) && !defined(HAVE_BONE_VERSION)
1011251875Speter#define BEOS_R5 1
1012251875Speter#else
1013251875Speter#define BEOS_BONE 1
1014251875Speter#endif
1015251875Speter
1016251875Speter/*
1017251875Speter * Darwin 10's default compiler (gcc42) builds for both 64 and
1018251875Speter * 32 bit architectures unless specifically told not to.
1019251875Speter * In those cases, we need to override types depending on how
1020251875Speter * we're being built at compile time.
1021251875Speter * NOTE: This is an ugly work-around for Darwin's
1022251875Speter * concept of universal binaries, a single package
1023251875Speter * (executable, lib, etc...) which contains both 32
1024251875Speter * and 64 bit versions. The issue is that if APR is
1025251875Speter * built universally, if something else is compiled
1026251875Speter * against it, some bit sizes will depend on whether
1027251875Speter * it is 32 or 64 bit. This is determined by the __LP64__
1028251875Speter * flag. Since we need to support both, we have to
1029251875Speter * handle OS X unqiuely.
1030251875Speter */
1031251875Speter#ifdef DARWIN_10
1032251875Speter
1033251875Speter#undef APR_OFF_T_STRFN
1034251875Speter#undef APR_INT64_STRFN
1035251875Speter#undef SIZEOF_LONG
1036251875Speter#undef SIZEOF_SIZE_T
1037251875Speter#undef SIZEOF_SSIZE_T
1038251875Speter#undef SIZEOF_VOIDP
1039251875Speter#undef SIZEOF_STRUCT_IOVEC
1040251875Speter
1041251875Speter#ifdef __LP64__
1042251875Speter #define APR_INT64_STRFN strtol
1043251875Speter #define SIZEOF_LONG    8
1044251875Speter #define SIZEOF_SIZE_T  8
1045251875Speter #define SIZEOF_SSIZE_T 8
1046251875Speter #define SIZEOF_VOIDP   8
1047251875Speter #define SIZEOF_STRUCT_IOVEC 16
1048251875Speter#else
1049251875Speter #define APR_INT64_STRFN strtoll
1050251875Speter #define SIZEOF_LONG    4
1051251875Speter #define SIZEOF_SIZE_T  4
1052251875Speter #define SIZEOF_SSIZE_T 4
1053251875Speter #define SIZEOF_VOIDP   4
1054251875Speter #define SIZEOF_STRUCT_IOVEC 8
1055251875Speter#endif
1056251875Speter
1057251875Speter#undef APR_OFF_T_STRFN
1058251875Speter#define APR_OFF_T_STRFN APR_INT64_STRFN
1059251875Speter 
1060251875Speter
1061251875Speter#undef SETPGRP_VOID
1062251875Speter#ifdef __DARWIN_UNIX03
1063251875Speter #define SETPGRP_VOID 1
1064251875Speter#else
1065251875Speter/* #undef SETPGRP_VOID */
1066251875Speter#endif
1067251875Speter 
1068251875Speter#endif /* DARWIN_10 */
1069251875Speter
1070251875Speter/*
1071251875Speter * Include common private declarations.
1072251875Speter */
1073251875Speter#include "../apr_private_common.h"
1074251875Speter#endif /* APR_PRIVATE_H */
1075251875Speter
1076