summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-04-10 11:30:21 +0000
committerMarc Laukien <marc@zeroc.com>2002-04-10 11:30:21 +0000
commit5f17ff737dc7c95bc2ae251c1951faf630872c09 (patch)
treeae3eac4ba3496d96a1fb2fe2791cbe1b3ba1613d /cpp/src/Ice/ThreadPool.cpp
parentremoved old file (diff)
downloadice-5f17ff737dc7c95bc2ae251c1951faf630872c09.tar.bz2
ice-5f17ff737dc7c95bc2ae251c1951faf630872c09.tar.xz
ice-5f17ff737dc7c95bc2ae251c1951faf630872c09.zip
WIN32->_WIN32
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r--cpp/src/Ice/ThreadPool.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp
index 382fb0dae24..6632fc6b578 100644
--- a/cpp/src/Ice/ThreadPool.cpp
+++ b/cpp/src/Ice/ThreadPool.cpp
@@ -56,7 +56,7 @@ void
IceInternal::ThreadPool::initiateServerShutdown()
{
char c = 1;
-#ifdef WIN32
+#ifdef _WIN32
::send(_fdIntrWrite, &c, 1, 0);
#else
::write(_fdIntrWrite, &c, 1);
@@ -205,7 +205,7 @@ IceInternal::ThreadPool::clearInterrupt()
{
bool shutdown = false;
char c;
-#ifdef WIN32
+#ifdef _WIN32
while (::recv(_fdIntrRead, &c, 1, 0) == 1)
#else
while (::read(_fdIntrRead, &c, 1) == 1)
@@ -224,7 +224,7 @@ void
IceInternal::ThreadPool::setInterrupt()
{
char c = 0;
-#ifdef WIN32
+#ifdef _WIN32
::send(_fdIntrWrite, &c, 1, 0);
#else
::write(_fdIntrWrite, &c, 1);
@@ -336,7 +336,7 @@ IceInternal::ThreadPool::run()
// Optimization for WIN32 specific version of fd_set. Looping with a
// FD_ISSET test like for Unix is very unefficient for WIN32.
//
-#ifdef WIN32
+#ifdef _WIN32
//
// Round robin for the filedescriptors.
//