summaryrefslogtreecommitdiff
path: root/ace/Asynch_Acceptor.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-27 22:53:32 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-27 22:53:32 +0000
commita614dfa3f55253b2b3d70f7d74e021f23a6b6a65 (patch)
tree8daf5b8943cacda70359d1373b7bb5a55873d129 /ace/Asynch_Acceptor.cpp
parentfd2a96929350311a0ac47725b4ef158fb237a0e2 (diff)
downloadATCD-a614dfa3f55253b2b3d70f7d74e021f23a6b6a65.tar.gz
.
Diffstat (limited to 'ace/Asynch_Acceptor.cpp')
-rw-r--r--ace/Asynch_Acceptor.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/ace/Asynch_Acceptor.cpp b/ace/Asynch_Acceptor.cpp
index 5a07b53c72f..8426eb22f58 100644
--- a/ace/Asynch_Acceptor.cpp
+++ b/ace/Asynch_Acceptor.cpp
@@ -301,11 +301,13 @@ ACE_Asynch_Acceptor<HANDLER>::cancel (void)
// All I/O operations that are canceled will complete with the error
// ERROR_OPERATION_ABORTED. All completion notifications for the I/O
// operations will occur normally.
-#if (defined (ACE_HAS_WINNT4) && (ACE_HAS_WINNT4 != 0)) && (defined (_MSC_VER) && (_MSC_VER > 1020))
+#if (defined (ACE_HAS_WINNT4) && (ACE_HAS_WINNT4 != 0)) \
+ && ( (defined (_MSC_VER) && (_MSC_VER > 1020)) \
+ || (defined (__BORLANDC__) && (__BORLANDC__ >= 0x530)))
return (int) ::CancelIo (this->listen_handle_);
#else
ACE_NOTSUP_RETURN (-1);
-#endif /* (defined (ACE_HAS_WINNT4) && (ACE_HAS_WINNT4 != 0)) && (defined (_MSC_VER) && (_MSC_VER > 1020)) */
+#endif /* (defined (ACE_HAS_WINNT4) && (ACE_HAS_WINNT4 != 0)) && ((defined (_MSC_VER) && (_MSC_VER > 1020)) || (defined (__BORLANDC__) && (__BORLANDC__ >= 0x530))) */
}
template <class HANDLER> void