apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1493731 - /apr/apr/trunk/include/apr_general.h
Date Mon, 17 Jun 2013 12:27:00 GMT
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



Mime
View raw message