diff options
author | Jeff Trawick <trawick@apache.org> | 2003-12-12 17:47:23 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2003-12-12 17:47:23 +0000 |
commit | 13996f2437aa28b239688b8463508cbfe8bbe0de (patch) | |
tree | e43d4dd50a622039bff42afa3f5bb31ee102c6fe /atomic | |
parent | 8f9ec532b2a0f3b99b49bdacae5b1ee7fe4ce5f0 (diff) | |
download | apr-13996f2437aa28b239688b8463508cbfe8bbe0de.tar.gz |
enable the x86 atomic code on Solaris/x86
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64835 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'atomic')
-rw-r--r-- | atomic/unix/apr_atomic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atomic/unix/apr_atomic.c b/atomic/unix/apr_atomic.c index 65258b22f..a6d55378c 100644 --- a/atomic/unix/apr_atomic.c +++ b/atomic/unix/apr_atomic.c @@ -88,7 +88,7 @@ APR_DECLARE(void) apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val) #endif /* __FreeBSD__ && !__i386__ */ -#if (defined(__linux__) || defined(__EMX__) || defined(__FreeBSD__)) \ +#if (defined(__linux__) || defined(__sun__) || defined(__EMX__) || defined(__FreeBSD__)) \ && defined(__i386__) && !APR_FORCE_ATOMIC_GENERIC APR_DECLARE(apr_uint32_t) apr_atomic_cas32(volatile apr_uint32_t *mem, |