summaryrefslogtreecommitdiff
path: root/data/apr/offsetof.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/apr/offsetof.diff')
-rw-r--r--data/apr/offsetof.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/apr/offsetof.diff b/data/apr/offsetof.diff
new file mode 100644
index 000000000..bbb6889bc
--- /dev/null
+++ b/data/apr/offsetof.diff
@@ -0,0 +1,12 @@
+diff -r -u apr-1.2.12/include/apr_general.h apr-1.2.12+iPhone/include/apr_general.h
+--- apr-1.2.12/include/apr_general.h 2006-08-03 11:05:27.000000000 +0000
++++ apr-1.2.12+iPhone/include/apr_general.h 2008-03-24 02:43:17.000000000 +0000
+@@ -76,7 +76,7 @@
+ * @return offset
+ */
+
+-#if defined(CRAY) || (defined(__arm) && !defined(LINUX))
++#if defined(CRAY) || (defined(__arm) && !defined(LINUX) && !defined(__APPLE__))
+ #ifdef __STDC__
+ #define APR_OFFSET(p_type,field) _Offsetof(p_type,field)
+ #else