diff options
author | Joe Orton <jorton@apache.org> | 2004-01-06 13:58:18 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2004-01-06 13:58:18 +0000 |
commit | e2719e98b5ef20dea2b5a3f297b8d0b2e7d93dc8 (patch) | |
tree | 18d891390347762fdaaeb032282bc40cf9d296fc /atomic | |
parent | e3fda2fae6c684d06e57c20f23ed65c42b06798a (diff) | |
download | apr-e2719e98b5ef20dea2b5a3f297b8d0b2e7d93dc8.tar.gz |
* atomic/unix/apr_atomic.c: Enable x86 asm on AMD64.
git-svn-id: https://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, |