diff options
author | Bernard Normier <bernard@zeroc.com> | 2005-08-12 14:35:27 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2005-08-12 14:35:27 +0000 |
commit | f19fe14d24b89120beba2e39920f2a1f7e1b958c (patch) | |
tree | 7fb98017e021d0b0ee074c474caf697219a2d9c2 /cppe/src/IceE/Shared.cpp | |
parent | change line endings (diff) | |
download | ice-f19fe14d24b89120beba2e39920f2a1f7e1b958c.tar.bz2 ice-f19fe14d24b89120beba2e39920f2a1f7e1b958c.tar.xz ice-f19fe14d24b89120beba2e39920f2a1f7e1b958c.zip |
Some ICE_ to ICEE_ renamings
Diffstat (limited to 'cppe/src/IceE/Shared.cpp')
-rw-r--r-- | cppe/src/IceE/Shared.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cppe/src/IceE/Shared.cpp b/cppe/src/IceE/Shared.cpp index 86925417f7d..55a189114c8 100644 --- a/cppe/src/IceE/Shared.cpp +++ b/cppe/src/IceE/Shared.cpp @@ -24,23 +24,23 @@ IceUtil::SimpleShared::SimpleShared(const SimpleShared&) : } IceUtil::Shared::Shared() : -#ifndef ICE_HAS_ATOMIC_FUNCTIONS +#ifndef ICEE_HAS_ATOMIC_FUNCTIONS _ref(0), #endif _noDelete(false) { -#ifdef ICE_HAS_ATOMIC_FUNCTIONS +#ifdef ICEE_HAS_ATOMIC_FUNCTIONS ice_atomic_set(&_ref, 0); #endif } IceUtil::Shared::Shared(const Shared&) : -#ifndef ICE_HAS_ATOMIC_FUNCTIONS +#ifndef ICEE_HAS_ATOMIC_FUNCTIONS _ref(0), #endif _noDelete(false) { -#ifdef ICE_HAS_ATOMIC_FUNCTIONS +#ifdef ICEE_HAS_ATOMIC_FUNCTIONS ice_atomic_set(&_ref, 0); #endif } @@ -50,7 +50,7 @@ IceUtil::Shared::__getRef() const { #if defined(_WIN32) return InterlockedExchangeAdd(const_cast<LONG*>(&_ref), 0); -#elif defined(ICE_HAS_ATOMIC_FUNCTIONS) +#elif defined(ICEE_HAS_ATOMIC_FUNCTIONS) return ice_atomic_exchange_add(0, const_cast<ice_atomic_t*>(&_ref)); #else _mutex.lock(); |