diff options
author | Ben Laurie <ben@apache.org> | 2002-05-06 11:42:34 +0000 |
---|---|---|
committer | Ben Laurie <ben@apache.org> | 2002-05-06 11:42:34 +0000 |
commit | c8912560041c1ab1d552bfd90e1d82700a2f27a7 (patch) | |
tree | 2b8d299f5b3493aa054c586990178b831f9fe639 /include/apr_atomic.h | |
parent | f62f009363ac8847eafa8bd06e303b8cde30b6f2 (diff) | |
download | apr-c8912560041c1ab1d552bfd90e1d82700a2f27a7.tar.gz |
FreeBSD down to 3 has atomic...
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63364 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_atomic.h')
-rw-r--r-- | include/apr_atomic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/apr_atomic.h b/include/apr_atomic.h index b94b8aa71..a47dfc755 100644 --- a/include/apr_atomic.h +++ b/include/apr_atomic.h @@ -171,7 +171,8 @@ APR_DECLARE(int) apr_atomic_dec(apr_atomic_t *mem); #define APR_ATOMIC_NEED_CAS_DEFAULT 1 #endif -#elif defined(__FreeBSD__) && (__FreeBSD__ >= 5) +#elif defined(__FreeBSD__) + #include <machine/atomic.h> #define apr_atomic_t apr_uint32_t |