diff options
author | ZeroC Staff <git@zeroc.com> | 2007-12-21 16:01:29 -0500 |
---|---|---|
committer | ZeroC Staff <git@zeroc.com> | 2007-12-21 16:01:29 -0500 |
commit | e2371ec5865e46ed5a7f080efafaf3e19bb4a8ee (patch) | |
tree | 1a55bd36abebc1623769f8597c24ba1e96fb8732 /cpp/src/IceUtil/Shared.cpp | |
parent | Fixed depend (diff) | |
download | ice-e2371ec5865e46ed5a7f080efafaf3e19bb4a8ee.tar.bz2 ice-e2371ec5865e46ed5a7f080efafaf3e19bb4a8ee.tar.xz ice-e2371ec5865e46ed5a7f080efafaf3e19bb4a8ee.zip |
Windows / VC6 fixes
Diffstat (limited to 'cpp/src/IceUtil/Shared.cpp')
-rwxr-xr-x | cpp/src/IceUtil/Shared.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/IceUtil/Shared.cpp b/cpp/src/IceUtil/Shared.cpp index de10b77bc7b..f72583c2711 100755 --- a/cpp/src/IceUtil/Shared.cpp +++ b/cpp/src/IceUtil/Shared.cpp @@ -9,10 +9,10 @@ #include <IceUtil/Shared.h> -#ifdef ICE_HAS_ATOMIC_FUNCTIONS - namespace IceUtilInternal { +#ifdef ICE_HAS_ATOMIC_FUNCTIONS + /* * atomicSet - set ice_atomic variable * @v: pointer of type AtomicCounter @@ -80,9 +80,8 @@ inline int atomicExchangeAdd(int i, AtomicCounter* v) : "memory"); return tmp + i; } -} #endif - +} using namespace IceUtil; using namespace IceUtilInternal; |