summaryrefslogtreecommitdiff
path: root/data/_apr/offsetof.diff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-08-15 10:55:47 -1000
committerSam Bingner <sam@bingner.com>2018-08-15 10:55:47 -1000
commita43c4cf7b8d13d923986eeda748dbfe41bb1fa01 (patch)
tree1bc3fc058f8e8a522800cb5ec94de5f7f9f2406b /data/_apr/offsetof.diff
parentffca5c35bc7b733233259554973621fb7a41e139 (diff)
Update apr to 1.6.3
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