59#if defined(__GNUC__) \
60 && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)) \
62#define APR_INLINE __inline__
63#define APR_HAS_INLINE 1
66#define APR_HAS_INLINE 0
71#if !(defined(__attribute__) || defined(__has_attribute)) || defined(__SUNPRO_C)
72#define __attribute__(__x)
75#ifndef __has_attribute
76#define __has_attribute(__x) 0
79#define APR_HAVE_ARPA_INET_H 1
80#define APR_HAVE_CONIO_H 0
81#define APR_HAVE_CRYPT_H 1
82#define APR_HAVE_CTYPE_H 1
83#define APR_HAVE_DIRENT_H 1
84#define APR_HAVE_ERRNO_H 1
85#define APR_HAVE_FCNTL_H 1
86#define APR_HAVE_IFADDRS_H 1
87#define APR_HAVE_IO_H 0
88#define APR_HAVE_LIMITS_H 1
89#define APR_HAVE_MSWSOCK_H 0
90#define APR_HAVE_NETDB_H 1
91#define APR_HAVE_NETINET_IN_H 1
92#define APR_HAVE_NETINET_SCTP_H 1
93#define APR_HAVE_NETINET_SCTP_UIO_H 0
94#define APR_HAVE_NETINET_TCP_H 1
95#define APR_HAVE_PROCESS_H 0
96#define APR_HAVE_PTHREAD_H 1
97#define APR_HAVE_SEMAPHORE_H 1
98#define APR_HAVE_SIGNAL_H 1
99#define APR_HAVE_STDARG_H 1
100#define APR_HAVE_STDDEF_H 1
101#define APR_HAVE_STDINT_H 1
102#define APR_HAVE_STDIO_H 1
103#define APR_HAVE_STDLIB_H 1
104#define APR_HAVE_STRING_H 1
105#define APR_HAVE_STRINGS_H 1
106#define APR_HAVE_INTTYPES_H 1
107#define APR_HAVE_SYS_IOCTL_H 1
108#define APR_HAVE_SYS_SENDFILE_H 1
109#define APR_HAVE_SYS_SIGNAL_H 1
110#define APR_HAVE_SYS_SOCKET_H 1
111#define APR_HAVE_SYS_SOCKIO_H 0
112#define APR_HAVE_SYS_SYSLIMITS_H 0
113#define APR_HAVE_SYS_TIME_H 1
114#define APR_HAVE_SYS_TYPES_H 1
115#define APR_HAVE_SYS_UIO_H 1
116#define APR_HAVE_SYS_UN_H 1
117#define APR_HAVE_SYS_WAIT_H 1
118#define APR_HAVE_TIME_H 1
119#define APR_HAVE_UNISTD_H 1
120#define APR_HAVE_WINDOWS_H 0
121#define APR_HAVE_WINSOCK2_H 0
122#define APR_HAVE_WS2TCPIP_H 0
131#if APR_HAVE_WINDOWS_H && defined(WIN32)
141#ifndef WIN32_LEAN_AND_MEAN
142#define WIN32_LEAN_AND_MEAN
145#define _WIN32_WINNT 0x0A00
160#if APR_HAVE_WINSOCK2_H
168#if APR_HAVE_WINSOCK2_H
171#if APR_HAVE_WS2TCPIP_H
175#if APR_HAVE_MSWSOCK_H
181#if APR_HAVE_SYS_TYPES_H
182#include <sys/types.h>
189#if APR_HAVE_SYS_SOCKET_H
190#include <sys/socket.h>
197#ifndef __STDC_CONSTANT_MACROS
198#define __STDC_CONSTANT_MACROS
201#ifndef __STDC_FORMAT_MACROS
202#define __STDC_FORMAT_MACROS
208#if APR_HAVE_INTTYPES_H
212#if APR_HAVE_SYS_WAIT_H
218#define INCL_DOSERRORS
226#if APR_HAVE_SYS_SYSLIMITS_H
227#include <sys/syslimits.h>
249#define APR_HAVE_SHMEM_MMAP_TMP 1
250#define APR_HAVE_SHMEM_MMAP_SHM 1
251#define APR_HAVE_SHMEM_MMAP_ZERO 1
252#define APR_HAVE_SHMEM_SHMGET_ANON 1
253#define APR_HAVE_SHMEM_SHMGET 1
254#define APR_HAVE_SHMEM_MMAP_ANON 1
255#define APR_HAVE_SHMEM_BEOS 0
257#define APR_USE_SHMEM_MMAP_TMP 0
258#define APR_USE_SHMEM_MMAP_SHM 1
259#define APR_USE_SHMEM_MMAP_ZERO 0
260#define APR_USE_SHMEM_SHMGET_ANON 0
261#define APR_USE_SHMEM_SHMGET 0
262#define APR_USE_SHMEM_MMAP_ANON 1
263#define APR_USE_SHMEM_BEOS 0
265#define APR_USE_FLOCK_SERIALIZE 0
266#define APR_USE_SYSVSEM_SERIALIZE 0
267#define APR_USE_POSIXSEM_SERIALIZE 0
268#define APR_USE_FCNTL_SERIALIZE 0
269#define APR_USE_PROC_PTHREAD_SERIALIZE 1
270#define APR_USE_PTHREAD_SERIALIZE 1
272#define APR_HAS_FLOCK_SERIALIZE 1
273#define APR_HAS_SYSVSEM_SERIALIZE 1
274#define APR_HAS_POSIXSEM_SERIALIZE 1
275#define APR_HAS_FCNTL_SERIALIZE 1
276#define APR_HAS_PROC_PTHREAD_SERIALIZE 1
278#define APR_PROCESS_LOCK_IS_GLOBAL 0
280#define APR_HAVE_CORKABLE_TCP 1
281#define APR_HAVE_GETRLIMIT 1
282#define APR_HAVE_IN_ADDR 1
283#define APR_HAVE_INET_ADDR 1
284#define APR_HAVE_INET_NETWORK 1
285#define APR_HAVE_IPV6 1
286#define APR_HAVE_SOCKADDR_UN 1
287#define APR_HAVE_MEMMEM 1
288#define APR_HAVE_MEMMOVE 1
289#define APR_HAVE_SETRLIMIT 1
290#define APR_HAVE_SIGACTION 1
291#define APR_HAVE_SIGSUSPEND 1
292#define APR_HAVE_SIGWAIT 1
293#define APR_HAVE_SA_STORAGE 1
294#define APR_HAVE_STRCASECMP 1
295#define APR_HAVE_STRDUP 1
296#define APR_HAVE_STRICMP 0
297#define APR_HAVE_STRNCASECMP 1
298#define APR_HAVE_STRNICMP 0
299#define APR_HAVE_STRSTR 1
300#define APR_HAVE_MEMCHR 1
301#define APR_HAVE_STRUCT_RLIMIT 1
302#define APR_HAVE_UNION_SEMUN 0
303#define APR_HAVE_SCTP 1
304#define APR_HAVE_IOVEC 1
307#define APR_HAS_SHARED_MEMORY 1
308#define APR_HAS_THREADS 1
309#define APR_HAS_SENDFILE 1
310#define APR_HAS_MMAP 1
311#define APR_HAS_FORK 1
312#define APR_HAS_RANDOM 1
313#define APR_HAS_OTHER_CHILD 1
315#define APR_HAS_SO_ACCEPTFILTER 0
316#define APR_HAS_UNICODE_FS 0
317#define APR_HAS_PROC_INVOKED 0
318#define APR_HAS_USER 1
319#define APR_HAS_LARGE_FILES 0
320#define APR_HAS_XTHREAD_FILES 0
321#define APR_HAS_OS_UUID 1
323#define APR_PROCATTR_USER_SET_REQUIRES_PASSWORD 0
328#define APR_FILES_AS_SOCKETS 1
332#define APR_CHARSET_EBCDIC 0
337#define APR_TCP_NOPUSH_FLAG TCP_CORK
341#define APR_TCP_NODELAY_INHERITED 1
345#define APR_O_NONBLOCK_INHERITED 0
349typedef unsigned char apr_byte_t;
351typedef short apr_int16_t;
352typedef unsigned short apr_uint16_t;
354typedef int apr_int32_t;
355typedef unsigned int apr_uint32_t;
357#define APR_SIZEOF_VOIDP 8
358#define APR_SIZEOF_OFF_T 8
376#undef APR_SIZEOF_VOIDP
380 typedef long apr_int64_t;
381 typedef unsigned long apr_uint64_t;
382 #define APR_SIZEOF_VOIDP 8
383 #define APR_INT64_C(v) (v ## L)
384 #define APR_UINT64_C(v) (v ## UL)
386 typedef long long apr_int64_t;
387 typedef unsigned long long apr_uint64_t;
388 #define APR_SIZEOF_VOIDP 4
389 #define APR_INT64_C(v) (v ## LL)
390 #define APR_UINT64_C(v) (v ## ULL)
393 typedef int64_t apr_int64_t;
394 typedef uint64_t apr_uint64_t;
397 #define APR_INT64_C(val) INT64_C(val)
398 #define APR_UINT64_C(val) UINT64_C(val)
401typedef size_t apr_size_t;
402typedef ssize_t apr_ssize_t;
403typedef off_t apr_off_t;
404typedef socklen_t apr_socklen_t;
405typedef ino_t apr_ino_t;
407#if APR_SIZEOF_VOIDP == 8
408typedef apr_uint64_t apr_uintptr_t;
409typedef apr_int64_t apr_intptr_t;
411typedef apr_uint32_t apr_uintptr_t;
412typedef apr_int32_t apr_intptr_t;
416#define APR_IS_BIGENDIAN 0
419#define APR_INT16_MIN INT16_MIN
421#define APR_INT16_MIN (-0x7fff - 1)
425#define APR_INT16_MAX INT16_MAX
427#define APR_INT16_MAX (0x7fff)
431#define APR_UINT16_MAX UINT16_MAX
433#define APR_UINT16_MAX (0xffff)
437#define APR_INT32_MIN INT32_MIN
439#define APR_INT32_MIN (-0x7fffffff - 1)
443#define APR_INT32_MAX INT32_MAX
445#define APR_INT32_MAX 0x7fffffff
449#define APR_UINT32_MAX UINT32_MAX
451#define APR_UINT32_MAX (0xffffffffU)
455#define APR_INT64_MIN INT64_MIN
457#define APR_INT64_MIN (APR_INT64_C(-0x7fffffffffffffff) - 1)
461#define APR_INT64_MAX INT64_MAX
463#define APR_INT64_MAX APR_INT64_C(0x7fffffffffffffff)
467#define APR_UINT64_MAX UINT64_MAX
469#define APR_UINT64_MAX APR_UINT64_C(0xffffffffffffffff)
472#define APR_SIZE_MAX (~((apr_size_t)0))
473#define APR_OFF_MAX (sizeof(apr_off_t) == 4 ? APR_INT32_MAX : sizeof(apr_off_t) == 8 ? APR_INT64_MAX :0)
482#define APR_BEGIN_DECLS extern "C" {
483#define APR_END_DECLS }
485#define APR_BEGIN_DECLS
498#define APR_THREAD_FUNC
500#if defined(DOXYGEN) || !defined(WIN32)
523#define APR_DECLARE(type) type
536#define APR_DECLARE_NONSTD(type) type
552#define APR_DECLARE_DATA
554#elif defined(APR_DECLARE_STATIC)
555#define APR_DECLARE(type) type __stdcall
556#define APR_DECLARE_NONSTD(type) type __cdecl
557#define APR_DECLARE_DATA
558#elif defined(APR_DECLARE_EXPORT)
559#define APR_DECLARE(type) __declspec(dllexport) type __stdcall
560#define APR_DECLARE_NONSTD(type) __declspec(dllexport) type __cdecl
561#define APR_DECLARE_DATA __declspec(dllexport)
563#define APR_DECLARE(type) __declspec(dllimport) type __stdcall
564#define APR_DECLARE_NONSTD(type) __declspec(dllimport) type __cdecl
565#define APR_DECLARE_DATA __declspec(dllimport)
568#if !defined(WIN32) || defined(APU_MODULE_DECLARE_STATIC)
578#define APR_MODULE_DECLARE_DATA
580#define APR_MODULE_DECLARE_DATA __declspec(dllexport)
587#define APU_MODULE_DECLARE_DATA APR_MODULE_DECLARE_DATA
598#define APR_SSIZE_T_FMT "ld"
601#define APR_SIZE_T_FMT "lu"
604#define APR_OFF_T_FMT "ld"
607#define APR_PID_T_FMT "d"
610#define APR_INT64_T_FMT PRId64
613#define APR_UINT64_T_FMT PRIu64
616#define APR_UINT64_T_HEX_FMT PRIx64
623#undef APR_HAS_LARGE_FILES
624#undef APR_SIZEOF_VOIDP
625#undef APR_INT64_T_FMT
626#undef APR_UINT64_T_FMT
627#undef APR_UINT64_T_HEX_FMT
630 #define APR_HAS_LARGE_FILES 0
631 #define APR_SIZEOF_VOIDP 8
632 #define APR_INT64_T_FMT "ld"
633 #define APR_UINT64_T_FMT "lu"
634 #define APR_UINT64_T_HEX_FMT "lx"
636 #define APR_HAS_LARGE_FILES 1
637 #define APR_SIZEOF_VOIDP 4
638 #define APR_INT64_T_FMT "lld"
639 #define APR_UINT64_T_FMT "llu"
640 #define APR_UINT64_T_HEX_FMT "llx"
643#undef APR_IS_BIGENDIAN
645 #define APR_IS_BIGENDIAN 1
647 #define APR_IS_BIGENDIAN 0
651#define APR_OFF_T_FMT "lld"
657#define APR_PROC_MUTEX_IS_GLOBAL 1
659#define APR_PROC_MUTEX_IS_GLOBAL 0
663#define APR_EOL_STR "\n"
665#if APR_HAVE_SYS_WAIT_H
667#define apr_wait_t int
669#define apr_wait_t union wait
670#define WEXITSTATUS(status) (int)((status).w_retcode)
671#define WTERMSIG(status) (int)((status).w_termsig)
673#elif defined(__MINGW32__)
674typedef int apr_wait_t;
678#define APR_PATH_MAX PATH_MAX
679#elif defined(_POSIX_PATH_MAX)
680#define APR_PATH_MAX _POSIX_PATH_MAX
682#error no decision has been made on APR_PATH_MAX for your platform
685#define APR_DSOPATH "LD_LIBRARY_PATH"
692#define APU_HAVE_SDBM 1
693#define APU_HAVE_LMDB 0
694#define APU_HAVE_GDBM 0
695#define APU_HAVE_NDBM 0
699#define APU_HAVE_DB_VERSION 0
702#define APU_HAVE_PGSQL 0
703#define APU_HAVE_MYSQL 0
704#define APU_HAVE_SQLITE3 1
705#define APU_HAVE_SQLITE2 0
706#define APU_HAVE_ORACLE 0
707#define APU_HAVE_ODBC 0
709#define APU_HAVE_CRYPTO 0
710#define APU_HAVE_CRYPTO_PRNG 0
711#define APU_HAVE_OPENSSL 0
712#define APU_HAVE_NSS 0
713#define APU_HAVE_COMMONCRYPTO 0
715#define APR_HAS_LDAP @apu_have_ldap@
716#define APR_HAS_OPENLDAP_LDAPSDK @apu_have_ldap_openldap@
717#define APR_HAS_MICROSOFT_LDAPSDK @apu_have_ldap_microsoft@
718#define APR_HAS_TIVOLI_LDAPSDK @apu_have_ldap_tivoli@
719#define APR_HAS_ZOS_LDAPSDK @apu_have_ldap_zos@
720#define APR_HAS_OTHER_LDAPSDK @apu_have_ldap_other@
722#define APU_HAVE_ICONV 1
723#define APR_HAS_XLATE (APU_HAVE_ICONV)
725#define APU_USE_EXPAT 1
726#define APU_USE_LIBXML2 0