11i 2#include <Availability.h> 3. 4/define APR_HAS_LARGE_FILES/c 5#ifdef __LP64__ 6#define APR_HAS_LARGE_FILES 0 7#else 8#define APR_HAS_LARGE_FILES 1 9#endif 10. 11/define APR_IS_BIGENDIAN/c 12#ifdef __BIG_ENDIAN__ 13#define APR_IS_BIGENDIAN 1 14#else 15#define APR_IS_BIGENDIAN 0 16#endif 17. 18/apr_int64_t/c 19typedef int64_t apr_int64_t; 20. 21/apr_uint64_t/c 22typedef uint64_t apr_uint64_t; 23. 24/define APR_SIZEOF_VOIDP/c 25#ifdef __LP64__ 26#define APR_SIZEOF_VOIDP 8 27#else 28#define APR_SIZEOF_VOIDP 4 29#endif 30. 31/define APR_OFF_T_FMT/c 32#define APR_OFF_T_FMT APR_INT64_T_FMT 33. 34/define APR_INT64_T_FMT/c 35#if defined(__LP64__) && defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1080 36#define APR_INT64_T_FMT "ld" 37#else 38#define APR_INT64_T_FMT "lld" 39#endif 40. 41/define APR_UINT64_T_FMT/c 42#if defined(__LP64__) && defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1080 43#define APR_UINT64_T_FMT "lu" 44#else 45#define APR_UINT64_T_FMT "llu" 46#endif 47. 48/define APR_UINT64_T_HEX_FMT/c 49#if defined(__LP64__) && defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1080 50#define APR_UINT64_T_HEX_FMT "lx" 51#else 52#define APR_UINT64_T_HEX_FMT "llx" 53#endif 54. 55w 56