diff options
author | brianp <brianp@13f79535-47bb-0310-9956-ffa450edef68> | 2002-10-19 18:06:59 +0000 |
---|---|---|
committer | brianp <brianp@13f79535-47bb-0310-9956-ffa450edef68> | 2002-10-19 18:06:59 +0000 |
commit | 595c6d42cf29f9a941cce34b43eb9807e943a7ff (patch) | |
tree | 9d2add7251efe2d161a83ceb88b254c6164b770d /atomic | |
parent | 96ef650f3cc0b36e9376393d86f2931c8b9eab68 (diff) | |
download | libapr-595c6d42cf29f9a941cce34b43eb9807e943a7ff.tar.gz |
fix an old typo and a bad cut-and-paste
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63952 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'atomic')
-rw-r--r-- | atomic/unix/apr_atomic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/atomic/unix/apr_atomic.c b/atomic/unix/apr_atomic.c index c4c98539a..eeefb1fe0 100644 --- a/atomic/unix/apr_atomic.c +++ b/atomic/unix/apr_atomic.c @@ -158,7 +158,7 @@ int apr_atomic_dec(volatile apr_atomic_t *mem) } #endif /*!defined(apr_atomic_dec) && !defined(APR_OVERRIDE_ATOMIC_DEC) */ -#if !defined(apr_atomic_cas) && !defined(APR_OVERRIDE_ATOMIC_CASE) +#if !defined(apr_atomic_cas) && !defined(APR_OVERRIDE_ATOMIC_CAS) apr_uint32_t apr_atomic_cas(volatile apr_uint32_t *mem, long with, long cmp) { long prev; @@ -182,4 +182,4 @@ apr_uint32_t apr_atomic_cas(volatile apr_uint32_t *mem, long with, long cmp) return prev; #endif /* APR_HAS_THREADS */ } -#endif /*!defined(apr_atomic_dec) && !defined(APR_OVERRIDE_ATOMIC_DEC) */ +#endif /*!defined(apr_atomic_cas) && !defined(APR_OVERRIDE_ATOMIC_CAS) */ |