summaryrefslogtreecommitdiff
path: root/data/_apr/offsetof.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-04-21 09:29:49 +0000
committerJay Freeman <saurik@saurik.com>2009-04-21 09:29:49 +0000
commit2c5ae4d98c863ce9ba6eae93b7a8475d002b0241 (patch)
treecc062d443c71a55b2b158c86d85ac655d36d57fe /data/_apr/offsetof.diff
parent8fa210f51070c9f27a0d90225ef99b352405afb2 (diff)
Renamed apr to _apr for split.
git-svn-id: http://svn.telesphoreo.org/trunk@598 514c082c-b64e-11dc-b46d-3d985efe055d
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