summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/Forward.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/Forward.cpp')
-rw-r--r--cpp/src/IcePack/Forward.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IcePack/Forward.cpp b/cpp/src/IcePack/Forward.cpp
index 027f61eb1c0..8e643f9aa61 100644
--- a/cpp/src/IcePack/Forward.cpp
+++ b/cpp/src/IcePack/Forward.cpp
@@ -20,7 +20,7 @@ IcePack::Forward::Forward(const CommunicatorPtr& communicator, const AdminPtr& a
_communicator(communicator),
_admin(admin)
{
-#ifndef WIN32
+#ifndef _WIN32
_activator = new Activator(_communicator);
_activator->start();
@@ -54,7 +54,7 @@ IcePack::Forward::locate(const ObjectAdapterPtr& adapter, const Current& current
return 0;
}
-#ifndef WIN32
+#ifndef _WIN32
assert(_activator);
@@ -156,7 +156,7 @@ IcePack::Forward::finished(const ObjectAdapterPtr&, const Current&, const Object
void
IcePack::Forward::deactivate()
{
-#ifndef WIN32
+#ifndef _WIN32
_activator->destroy();
_activator->getThreadControl().join();
_activator = 0;