You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2013/06/17 14:27:00 UTC

svn commit: r1493731 - /apr/apr/trunk/include/apr_general.h

Author: trawick
Date: Mon Jun 17 12:26:59 2013
New Revision: 1493731

URL: http://svn.apache.org/r1493731
Log:
Fix compilation with FreeBSD on ARM.

Submitted by: Olli Hauer <ohauer gmx.de>
Reviewed by: trawick

Modified:
    apr/apr/trunk/include/apr_general.h

Modified: apr/apr/trunk/include/apr_general.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_general.h?rev=1493731&r1=1493730&r2=1493731&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_general.h (original)
+++ apr/apr/trunk/include/apr_general.h Mon Jun 17 12:26:59 2013
@@ -79,7 +79,7 @@ typedef enum { APR_WAIT_READ, APR_WAIT_W
  * @return offset
  */
 
-#if defined(CRAY) || (defined(__arm) && !defined(LINUX))
+#if defined(CRAY) || (defined(__arm) && !(defined(LINUX) || defined(__FreeBSD__)))
 #ifdef __STDC__
 #define APR_OFFSET(p_type,field) _Offsetof(p_type,field)
 #else