summaryrefslogtreecommitdiff
path: root/data/_apr/offsetof.diff
blob: d9f3a3e890bb59d4a6f44264abb3b47cf4b0be6c (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) || defined(__FreeBSD__)))
+#if defined(CRAY) || (defined(__arm) && !(defined(LINUX) || defined(__FreeBSD__) || defined(__APPLE__)))
 #ifdef __STDC__
 #define APR_OFFSET(p_type,field) _Offsetof(p_type,field)
 #else