diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-09-02 12:58:35 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-09-02 12:58:35 -0230 |
commit | 7b3198c81431c2491afa128f78f4b314eeaa358b (patch) | |
tree | 9f2d72fa96501340566fe29a336b356b497da693 /cpp/src/IceSSL/AcceptorI.cpp | |
parent | 4238 - Java test suite and ant options. (diff) | |
download | ice-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/IceSSL/AcceptorI.cpp')
-rw-r--r-- | cpp/src/IceSSL/AcceptorI.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/AcceptorI.cpp b/cpp/src/IceSSL/AcceptorI.cpp index b70ca0e965c..cb40592c5df 100644 --- a/cpp/src/IceSSL/AcceptorI.cpp +++ b/cpp/src/IceSSL/AcceptorI.cpp @@ -122,7 +122,13 @@ IceSSL::AcceptorI::startAccept() assert(_acceptFd == INVALID_SOCKET); _acceptFd = IceInternal::createSocket(false, _addr.ss_family); const int sz = static_cast<int>(_acceptBuf.size() / 2); - if(!AcceptEx(_fd, _acceptFd, &_acceptBuf[0], 0, sz, sz, &_info.count, &_info)) + if(!AcceptEx(_fd, _acceptFd, &_acceptBuf[0], 0, sz, sz, &_info.count, +#if defined(_MSC_VER) && (_MSC_VER < 1300) // COMPILER FIX: VC60 + reinterpret_cast<LPOVERLAPPED>(&_info) +#else + &_info +#endif + )) { if(WSAGetLastError() != WSA_IO_PENDING) { |