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.diff4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/_apr/offsetof.diff b/data/_apr/offsetof.diff
index bbb6889bc..d9f3a3e89 100644
--- a/data/_apr/offsetof.diff
+++ b/data/_apr/offsetof.diff
@@ -5,8 +5,8 @@ diff -r -u apr-1.2.12/include/apr_general.h apr-1.2.12+iPhone/include/apr_genera
* @return offset
*/
--#if defined(CRAY) || (defined(__arm) && !defined(LINUX))
-+#if defined(CRAY) || (defined(__arm) && !defined(LINUX) && !defined(__APPLE__))
+-#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