diff options
author | Yann Ylavic <ylavic@apache.org> | 2021-10-29 15:04:55 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2021-10-29 15:04:55 +0000 |
commit | 524ff11d3c7cc5c35ce6c6568cbeb3c9309dc482 (patch) | |
tree | 25b4113ed609457e9e3cf87d6ae719853868d253 /include/apr.hwc | |
parent | abc1e1784d67dd93ac7f80fb215d98b2676f9f7f (diff) | |
download | apr-524ff11d3c7cc5c35ce6c6568cbeb3c9309dc482.tar.gz |
apr_atomic: Use __atomic builtins when available.
Unlike Intel's atomic builtins (__sync_*), the more recent __atomic builtins
provide atomic load and store for weakly ordered architectures like ARM32 or
powerpc[64], so use them when available (gcc 4.6.3+).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894618 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr.hwc')
-rw-r--r-- | include/apr.hwc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/apr.hwc b/include/apr.hwc index 03bcd5e8e..8362fffcb 100644 --- a/include/apr.hwc +++ b/include/apr.hwc @@ -129,6 +129,7 @@ #define APR_NOT_IN_WCE 1 #endif +#define APR_HAVE_ASSERT_H 1 #define APR_HAVE_ARPA_INET_H 0 #define APR_HAVE_CONIO_H APR_NOT_IN_WCE #define APR_HAVE_CRYPT_H 0 |