summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Shared.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-08-12 04:44:58 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-08-12 04:44:58 +0000
commit708d97e4bd4acf9d7c1bad093d0c3847282b09c2 (patch)
treef6d6de12f2b778f67d52906c8978578bb278b4e6 /cppe/src/IceE/Shared.cpp
parenthttp://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=439 (diff)
downloadice-708d97e4bd4acf9d7c1bad093d0c3847282b09c2.tar.bz2
ice-708d97e4bd4acf9d7c1bad093d0c3847282b09c2.tar.xz
ice-708d97e4bd4acf9d7c1bad093d0c3847282b09c2.zip
ICEE_ -> ICE_
Diffstat (limited to 'cppe/src/IceE/Shared.cpp')
-rw-r--r--cppe/src/IceE/Shared.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cppe/src/IceE/Shared.cpp b/cppe/src/IceE/Shared.cpp
index 55a189114c8..86925417f7d 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 ICEE_HAS_ATOMIC_FUNCTIONS
+#ifndef ICE_HAS_ATOMIC_FUNCTIONS
_ref(0),
#endif
_noDelete(false)
{
-#ifdef ICEE_HAS_ATOMIC_FUNCTIONS
+#ifdef ICE_HAS_ATOMIC_FUNCTIONS
ice_atomic_set(&_ref, 0);
#endif
}
IceUtil::Shared::Shared(const Shared&) :
-#ifndef ICEE_HAS_ATOMIC_FUNCTIONS
+#ifndef ICE_HAS_ATOMIC_FUNCTIONS
_ref(0),
#endif
_noDelete(false)
{
-#ifdef ICEE_HAS_ATOMIC_FUNCTIONS
+#ifdef ICE_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(ICEE_HAS_ATOMIC_FUNCTIONS)
+#elif defined(ICE_HAS_ATOMIC_FUNCTIONS)
return ice_atomic_exchange_add(0, const_cast<ice_atomic_t*>(&_ref));
#else
_mutex.lock();