diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-01-06 13:58:18 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-01-06 13:58:18 +0000 |
commit | 5c0f8a96a899f3201205e49a3ef3d0eeb887f9d1 (patch) | |
tree | 18d891390347762fdaaeb032282bc40cf9d296fc /atomic | |
parent | fff4d3c4e5d7ac784d737eb030d52d805ccbb9e6 (diff) | |
download | libapr-5c0f8a96a899f3201205e49a3ef3d0eeb887f9d1.tar.gz |
* atomic/unix/apr_atomic.c: Enable x86 asm on AMD64.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64859 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'atomic')
-rw-r--r-- | atomic/unix/apr_atomic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/atomic/unix/apr_atomic.c b/atomic/unix/apr_atomic.c index 161392852..feaeee11c 100644 --- a/atomic/unix/apr_atomic.c +++ b/atomic/unix/apr_atomic.c @@ -58,7 +58,8 @@ #include <stdlib.h> -#if defined(__i386__) && defined(__GNUC__) && !APR_FORCE_ATOMIC_GENERIC +#if (defined(__i386__) || defined(__x86_64__)) \ + && defined(__GNUC__) && !APR_FORCE_ATOMIC_GENERIC APR_DECLARE(apr_uint32_t) apr_atomic_cas32(volatile apr_uint32_t *mem, apr_uint32_t with, |