summaryrefslogtreecommitdiff
path: root/data/_apr/offsetof.diff
blob: bbb6889bc80b19dd5bfc05305650db18e4f1b81b (plain)
1
2
3
4
5
6
7
8
9
10
11
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