summaryrefslogtreecommitdiff
path: root/include/apr.hnw
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2021-10-29 15:04:55 +0000
committerYann Ylavic <ylavic@apache.org>2021-10-29 15:04:55 +0000
commit524ff11d3c7cc5c35ce6c6568cbeb3c9309dc482 (patch)
tree25b4113ed609457e9e3cf87d6ae719853868d253 /include/apr.hnw
parentabc1e1784d67dd93ac7f80fb215d98b2676f9f7f (diff)
downloadapr-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.hnw')
-rw-r--r--include/apr.hnw1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/apr.hnw b/include/apr.hnw
index 6db0c9b5e..10ebb390a 100644
--- a/include/apr.hnw
+++ b/include/apr.hnw
@@ -80,6 +80,7 @@ extern "C" {
#endif
#define ENUM_BITFIELD(e,n,w) signed int n : w
+#define APR_HAVE_ASSERT_H 1
#define APR_HAVE_CONIO_H 0
#define APR_HAVE_CRYPT_H 0
#define APR_HAVE_CTYPE_H 1