summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-09-02 12:58:35 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-09-02 12:58:35 -0230
commit7b3198c81431c2491afa128f78f4b314eeaa358b (patch)
tree9f2d72fa96501340566fe29a336b356b497da693 /cpp/src/Ice/ThreadPool.cpp
parent4238 - Java test suite and ant options. (diff)
downloadice-7b3198c81431c2491afa128f78f4b314eeaa358b.tar.bz2
ice-7b3198c81431c2491afa128f78f4b314eeaa358b.tar.xz
ice-7b3198c81431c2491afa128f78f4b314eeaa358b.zip
Added Advanced Installer third party installer projects for VC6 and VC9
Fixed some VC6 compile errors
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r--cpp/src/Ice/ThreadPool.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp
index 3c5a9a82311..d5ff021a660 100644
--- a/cpp/src/Ice/ThreadPool.cpp
+++ b/cpp/src/Ice/ThreadPool.cpp
@@ -306,7 +306,13 @@ public:
break;
}
#else
- if(!PostQueuedCompletionStatus(_selector.getIOCPHandle(), 0, reinterpret_cast<ULONG_PTR>(this), &_info))
+ if(!PostQueuedCompletionStatus(_selector.getIOCPHandle(), 0, reinterpret_cast<ULONG_PTR>(this),
+#if defined(_MSC_VER) && (_MSC_VER < 1300) // COMPILER FIX: VC60
+ reinterpret_cast<LPOVERLAPPED>(&_info)
+#else
+ &_info
+#endif
+ ))
{
SocketException ex(__FILE__, __LINE__);
ex.error = GetLastError();