fix-apr.h.ed   [plain text]


/define APR_HAS_LARGE_FILES/c
#ifdef __LP64__
#define APR_HAS_LARGE_FILES       0
#else
#define APR_HAS_LARGE_FILES       1
#endif
.
/define APR_IS_BIGENDIAN/c
#ifdef __BIG_ENDIAN__
#define APR_IS_BIGENDIAN	1
#else
#define APR_IS_BIGENDIAN	0
#endif
.
/apr_int64_t/c
#ifdef __LP64__
typedef  long            apr_int64_t;
#else
typedef  long long            apr_int64_t;
#endif
.
/apr_uint64_t/c
#ifdef __LP64__
typedef  unsigned long   apr_uint64_t;
#else
typedef  unsigned long long   apr_uint64_t;
#endif
.
/define APR_SIZEOF_VOIDP/c
#ifdef __LP64__
#define APR_SIZEOF_VOIDP 8
#else
#define APR_SIZEOF_VOIDP 4
#endif
.
/define APR_OFF_T_FMT/c
#define APR_OFF_T_FMT APR_INT64_T_FMT
.
/define APR_INT64_T_FMT/c
#ifdef __LP64__
#define APR_INT64_T_FMT "ld"
#else
#define APR_INT64_T_FMT "lld"
#endif
.
/define APR_UINT64_T_FMT/c
#ifdef __LP64__
#define APR_UINT64_T_FMT "lu"
#else
#define APR_UINT64_T_FMT "llu"
#endif
.
/define APR_UINT64_T_HEX_FMT/c
#ifdef __LP64__
#define APR_UINT64_T_HEX_FMT "lx"
#else
#define APR_UINT64_T_HEX_FMT "llx"
#endif
.
w