59#if !defined(__GNUC__) || __GNUC__ < 2 || \
60 (__GNUC__ == 2 && __GNUC_MINOR__ < 7) ||\
63#define __attribute__(__x)
66#define APR_HAS_INLINE 0
68#define APR_INLINE __inline__
69#define APR_HAS_INLINE 1
72#define APR_HAVE_ARPA_INET_H 1
73#define APR_HAVE_CONIO_H 0
74#define APR_HAVE_CRYPT_H 1
75#define APR_HAVE_CTYPE_H 1
76#define APR_HAVE_DIRENT_H 1
77#define APR_HAVE_ERRNO_H 1
78#define APR_HAVE_FCNTL_H 1
79#define APR_HAVE_IFADDRS_H 1
80#define APR_HAVE_IO_H 0
81#define APR_HAVE_LIMITS_H 1
82#define APR_HAVE_MSWSOCK_H 0
83#define APR_HAVE_NETDB_H 1
84#define APR_HAVE_NETINET_IN_H 1
85#define APR_HAVE_NETINET_SCTP_H 0
86#define APR_HAVE_NETINET_SCTP_UIO_H 0
87#define APR_HAVE_NETINET_TCP_H 1
88#define APR_HAVE_PROCESS_H 0
89#define APR_HAVE_PTHREAD_H 1
90#define APR_HAVE_SEMAPHORE_H 1
91#define APR_HAVE_SIGNAL_H 1
92#define APR_HAVE_STDARG_H 1
93#define APR_HAVE_STDDEF_H 1
94#define APR_HAVE_STDINT_H 1
95#define APR_HAVE_STDIO_H 1
96#define APR_HAVE_STDLIB_H 1
97#define APR_HAVE_STRING_H 1
98#define APR_HAVE_STRINGS_H 1
99#define APR_HAVE_INTTYPES_H 1
100#define APR_HAVE_SYS_IOCTL_H 1
101#define APR_HAVE_SYS_SENDFILE_H 1
102#define APR_HAVE_SYS_SIGNAL_H 1
103#define APR_HAVE_SYS_SOCKET_H 1
104#define APR_HAVE_SYS_SOCKIO_H 0
105#define APR_HAVE_SYS_SYSLIMITS_H 0
106#define APR_HAVE_SYS_TIME_H 1
107#define APR_HAVE_SYS_TYPES_H 1
108#define APR_HAVE_SYS_UIO_H 1
109#define APR_HAVE_SYS_UN_H 1
110#define APR_HAVE_SYS_WAIT_H 1
111#define APR_HAVE_TIME_H 1
112#define APR_HAVE_UNISTD_H 1
113#define APR_HAVE_WINDOWS_H 0
114#define APR_HAVE_WINSOCK2_H 0
115#define APR_HAVE_WS2TCPIP_H 0
124#if APR_HAVE_WINDOWS_H && defined(WIN32)
134#ifndef WIN32_LEAN_AND_MEAN
135#define WIN32_LEAN_AND_MEAN
138#define _WIN32_WINNT 0x0A00
153#if APR_HAVE_WINSOCK2_H
161#if APR_HAVE_WINSOCK2_H
164#if APR_HAVE_WS2TCPIP_H
168#if APR_HAVE_MSWSOCK_H
174#if APR_HAVE_SYS_TYPES_H
175#include <sys/types.h>
182#if APR_HAVE_SYS_SOCKET_H
183#include <sys/socket.h>
190#ifndef __STDC_CONSTANT_MACROS
191#define __STDC_CONSTANT_MACROS
194#ifndef __STDC_FORMAT_MACROS
195#define __STDC_FORMAT_MACROS
201#if APR_HAVE_INTTYPES_H
205#if APR_HAVE_SYS_WAIT_H
211#define INCL_DOSERRORS
219#if APR_HAVE_SYS_SYSLIMITS_H
220#include <sys/syslimits.h>
242#define APR_HAVE_SHMEM_MMAP_TMP 1
243#define APR_HAVE_SHMEM_MMAP_SHM 1
244#define APR_HAVE_SHMEM_MMAP_ZERO 1
245#define APR_HAVE_SHMEM_SHMGET_ANON 1
246#define APR_HAVE_SHMEM_SHMGET 1
247#define APR_HAVE_SHMEM_MMAP_ANON 1
248#define APR_HAVE_SHMEM_BEOS 0
250#define APR_USE_SHMEM_MMAP_TMP 0
251#define APR_USE_SHMEM_MMAP_SHM 1
252#define APR_USE_SHMEM_MMAP_ZERO 0
253#define APR_USE_SHMEM_SHMGET_ANON 0
254#define APR_USE_SHMEM_SHMGET 0
255#define APR_USE_SHMEM_MMAP_ANON 1
256#define APR_USE_SHMEM_BEOS 0
258#define APR_USE_FLOCK_SERIALIZE 0
259#define APR_USE_SYSVSEM_SERIALIZE 0
260#define APR_USE_POSIXSEM_SERIALIZE 0
261#define APR_USE_FCNTL_SERIALIZE 0
262#define APR_USE_PROC_PTHREAD_SERIALIZE 1
263#define APR_USE_PTHREAD_SERIALIZE 1
265#define APR_HAS_FLOCK_SERIALIZE 1
266#define APR_HAS_SYSVSEM_SERIALIZE 1
267#define APR_HAS_POSIXSEM_SERIALIZE 1
268#define APR_HAS_FCNTL_SERIALIZE 1
269#define APR_HAS_PROC_PTHREAD_SERIALIZE 1
271#define APR_PROCESS_LOCK_IS_GLOBAL 0
273#define APR_HAVE_CORKABLE_TCP 1
274#define APR_HAVE_GETRLIMIT 1
275#define APR_HAVE_IN_ADDR 1
276#define APR_HAVE_INET_ADDR 1
277#define APR_HAVE_INET_NETWORK 1
278#define APR_HAVE_IPV6 1
279#define APR_HAVE_SOCKADDR_UN 1
280#define APR_HAVE_MEMMEM 1
281#define APR_HAVE_MEMMOVE 1
282#define APR_HAVE_SETRLIMIT 1
283#define APR_HAVE_SIGACTION 1
284#define APR_HAVE_SIGSUSPEND 1
285#define APR_HAVE_SIGWAIT 1
286#define APR_HAVE_SA_STORAGE 1
287#define APR_HAVE_STRCASECMP 1
288#define APR_HAVE_STRDUP 1
289#define APR_HAVE_STRICMP 0
290#define APR_HAVE_STRNCASECMP 1
291#define APR_HAVE_STRNICMP 0
292#define APR_HAVE_STRSTR 1
293#define APR_HAVE_MEMCHR 1
294#define APR_HAVE_STRUCT_RLIMIT 1
295#define APR_HAVE_UNION_SEMUN 0
296#define APR_HAVE_SCTP 0
297#define APR_HAVE_IOVEC 1
300#define APR_HAS_SHARED_MEMORY 1
301#define APR_HAS_THREADS 1
302#define APR_HAS_SENDFILE 1
303#define APR_HAS_MMAP 1
304#define APR_HAS_FORK 1
305#define APR_HAS_RANDOM 1
306#define APR_HAS_OTHER_CHILD 1
308#define APR_HAS_SO_ACCEPTFILTER 0
309#define APR_HAS_UNICODE_FS 0
310#define APR_HAS_PROC_INVOKED 0
311#define APR_HAS_USER 1
312#define APR_HAS_LARGE_FILES 0
313#define APR_HAS_XTHREAD_FILES 0
314#define APR_HAS_OS_UUID 1
316#define APR_PROCATTR_USER_SET_REQUIRES_PASSWORD 0
321#define APR_FILES_AS_SOCKETS 1
325#define APR_CHARSET_EBCDIC 0
330#define APR_TCP_NOPUSH_FLAG TCP_CORK
334#define APR_TCP_NODELAY_INHERITED 1
338#define APR_O_NONBLOCK_INHERITED 0
342typedef unsigned char apr_byte_t;
344typedef short apr_int16_t;
345typedef unsigned short apr_uint16_t;
347typedef int apr_int32_t;
348typedef unsigned int apr_uint32_t;
350#define APR_SIZEOF_VOIDP 8
351#define APR_SIZEOF_OFF_T 8
369#undef APR_SIZEOF_VOIDP
373 typedef long apr_int64_t;
374 typedef unsigned long apr_uint64_t;
375 #define APR_SIZEOF_VOIDP 8
376 #define APR_INT64_C(v) (v ## L)
377 #define APR_UINT64_C(v) (v ## UL)
379 typedef long long apr_int64_t;
380 typedef unsigned long long apr_uint64_t;
381 #define APR_SIZEOF_VOIDP 4
382 #define APR_INT64_C(v) (v ## LL)
383 #define APR_UINT64_C(v) (v ## ULL)
386 typedef int64_t apr_int64_t;
387 typedef uint64_t apr_uint64_t;
390 #define APR_INT64_C(val) INT64_C(val)
391 #define APR_UINT64_C(val) UINT64_C(val)
394typedef size_t apr_size_t;
395typedef ssize_t apr_ssize_t;
396typedef off_t apr_off_t;
397typedef socklen_t apr_socklen_t;
398typedef ino_t apr_ino_t;
400#if APR_SIZEOF_VOIDP == 8
401typedef apr_uint64_t apr_uintptr_t;
402typedef apr_int64_t apr_intptr_t;
404typedef apr_uint32_t apr_uintptr_t;
405typedef apr_int32_t apr_intptr_t;
409#define APR_IS_BIGENDIAN 0
412#define APR_INT16_MIN INT16_MIN
414#define APR_INT16_MIN (-0x7fff - 1)
418#define APR_INT16_MAX INT16_MAX
420#define APR_INT16_MAX (0x7fff)
424#define APR_UINT16_MAX UINT16_MAX
426#define APR_UINT16_MAX (0xffff)
430#define APR_INT32_MIN INT32_MIN
432#define APR_INT32_MIN (-0x7fffffff - 1)
436#define APR_INT32_MAX INT32_MAX
438#define APR_INT32_MAX 0x7fffffff
442#define APR_UINT32_MAX UINT32_MAX
444#define APR_UINT32_MAX (0xffffffffU)
448#define APR_INT64_MIN INT64_MIN
450#define APR_INT64_MIN (APR_INT64_C(-0x7fffffffffffffff) - 1)
454#define APR_INT64_MAX INT64_MAX
456#define APR_INT64_MAX APR_INT64_C(0x7fffffffffffffff)
460#define APR_UINT64_MAX UINT64_MAX
462#define APR_UINT64_MAX APR_UINT64_C(0xffffffffffffffff)
465#define APR_SIZE_MAX (~((apr_size_t)0))
466#define APR_OFF_MAX (sizeof(apr_off_t) == 4 ? APR_INT32_MAX : sizeof(apr_off_t) == 8 ? APR_INT64_MAX :0)
475#define APR_BEGIN_DECLS extern "C" {
476#define APR_END_DECLS }
478#define APR_BEGIN_DECLS
491#define APR_THREAD_FUNC
493#if defined(DOXYGEN) || !defined(WIN32)
516#define APR_DECLARE(type) type
529#define APR_DECLARE_NONSTD(type) type
545#define APR_DECLARE_DATA
547#elif defined(APR_DECLARE_STATIC)
548#define APR_DECLARE(type) type __stdcall
549#define APR_DECLARE_NONSTD(type) type __cdecl
550#define APR_DECLARE_DATA
551#elif defined(APR_DECLARE_EXPORT)
552#define APR_DECLARE(type) __declspec(dllexport) type __stdcall
553#define APR_DECLARE_NONSTD(type) __declspec(dllexport) type __cdecl
554#define APR_DECLARE_DATA __declspec(dllexport)
556#define APR_DECLARE(type) __declspec(dllimport) type __stdcall
557#define APR_DECLARE_NONSTD(type) __declspec(dllimport) type __cdecl
558#define APR_DECLARE_DATA __declspec(dllimport)
561#if !defined(WIN32) || defined(APU_MODULE_DECLARE_STATIC)
571#define APR_MODULE_DECLARE_DATA
573#define APR_MODULE_DECLARE_DATA __declspec(dllexport)
580#define APU_MODULE_DECLARE_DATA APR_MODULE_DECLARE_DATA
591#define APR_SSIZE_T_FMT "ld"
594#define APR_SIZE_T_FMT "lu"
597#define APR_OFF_T_FMT "ld"
600#define APR_PID_T_FMT "d"
603#define APR_INT64_T_FMT PRId64
606#define APR_UINT64_T_FMT PRIu64
609#define APR_UINT64_T_HEX_FMT PRIx64
616#undef APR_HAS_LARGE_FILES
617#undef APR_SIZEOF_VOIDP
618#undef APR_INT64_T_FMT
619#undef APR_UINT64_T_FMT
620#undef APR_UINT64_T_HEX_FMT
623 #define APR_HAS_LARGE_FILES 0
624 #define APR_SIZEOF_VOIDP 8
625 #define APR_INT64_T_FMT "ld"
626 #define APR_UINT64_T_FMT "lu"
627 #define APR_UINT64_T_HEX_FMT "lx"
629 #define APR_HAS_LARGE_FILES 1
630 #define APR_SIZEOF_VOIDP 4
631 #define APR_INT64_T_FMT "lld"
632 #define APR_UINT64_T_FMT "llu"
633 #define APR_UINT64_T_HEX_FMT "llx"
636#undef APR_IS_BIGENDIAN
638 #define APR_IS_BIGENDIAN 1
640 #define APR_IS_BIGENDIAN 0
644#define APR_OFF_T_FMT "lld"
650#define APR_PROC_MUTEX_IS_GLOBAL 1
652#define APR_PROC_MUTEX_IS_GLOBAL 0
656#define APR_EOL_STR "\n"
658#if APR_HAVE_SYS_WAIT_H
660#define apr_wait_t int
662#define apr_wait_t union wait
663#define WEXITSTATUS(status) (int)((status).w_retcode)
664#define WTERMSIG(status) (int)((status).w_termsig)
666#elif defined(__MINGW32__)
667typedef int apr_wait_t;
671#define APR_PATH_MAX PATH_MAX
672#elif defined(_POSIX_PATH_MAX)
673#define APR_PATH_MAX _POSIX_PATH_MAX
675#error no decision has been made on APR_PATH_MAX for your platform
678#define APR_DSOPATH "LD_LIBRARY_PATH"
685#define APU_HAVE_SDBM 1
686#define APU_HAVE_LMDB 1
687#define APU_HAVE_GDBM 0
688#define APU_HAVE_NDBM 0
692#define APU_HAVE_DB_VERSION 0
695#define APU_HAVE_PGSQL 1
696#define APU_HAVE_MYSQL 1
697#define APU_HAVE_SQLITE3 1
698#define APU_HAVE_SQLITE2 0
699#define APU_HAVE_ORACLE 0
700#define APU_HAVE_ODBC 1
702#define APU_HAVE_CRYPTO 1
703#define APU_HAVE_CRYPTO_PRNG 1
704#define APU_HAVE_OPENSSL 1
705#define APU_HAVE_NSS 1
706#define APU_HAVE_COMMONCRYPTO 0
708#define APR_HAS_LDAP 0
709#define APR_HAS_OPENLDAP_LDAPSDK 0
710#define APR_HAS_MICROSOFT_LDAPSDK 0
711#define APR_HAS_TIVOLI_LDAPSDK 0
712#define APR_HAS_ZOS_LDAPSDK 0
713#define APR_HAS_OTHER_LDAPSDK 0
715#define APU_HAVE_ICONV 1
716#define APR_HAS_XLATE (APU_HAVE_ICONV)
718#define APU_USE_EXPAT 1
719#define APU_USE_LIBXML2 0