summaryrefslogtreecommitdiff
path: root/include/apr.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'include/apr.h.in')
-rw-r--r--include/apr.h.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/apr.h.in b/include/apr.h.in
index 9f1fb6f99..acb096092 100644
--- a/include/apr.h.in
+++ b/include/apr.h.in
@@ -277,8 +277,18 @@ typedef unsigned @short_value@ apr_uint16_t;
typedef @int_value@ apr_int32_t;
typedef unsigned @int_value@ apr_uint32_t;
+#ifdef DARWIN_10
+#ifdef __LP64__
+typedef long apr_int64_t;
+typedef unsigned long apr_uint64_t;
+#else
+typedef long long apr_int64_t;
+typedef unsigned long long apr_uint64_t;
+#endif
+#else
typedef @long_value@ apr_int64_t;
typedef unsigned @long_value@ apr_uint64_t;
+#endif
typedef @size_t_value@ apr_size_t;
typedef @ssize_t_value@ apr_ssize_t;
@@ -505,6 +515,8 @@ typedef int uid_t;
typedef int gid_t;
#endif
+#include "apr_os_override.h"
+
#ifdef __cplusplus
}
#endif