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