summaryrefslogtreecommitdiff
path: root/ace/Asynch_Acceptor.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-11-14 08:25:00 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-11-14 08:25:00 +0000
commit4f6490c9ec79f8fbf3dac3dad977df0665723fa0 (patch)
tree047be4668ba9453eb94e9b7de9d924e5b6125be3 /ace/Asynch_Acceptor.cpp
parentd9faee9a1d36ab85750d21ac4d434a221bbadb59 (diff)
downloadATCD-4f6490c9ec79f8fbf3dac3dad977df0665723fa0.tar.gz
ChangeLogTag: Mon Nov 14 07:57:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/Asynch_Acceptor.cpp')
-rw-r--r--ace/Asynch_Acceptor.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ace/Asynch_Acceptor.cpp b/ace/Asynch_Acceptor.cpp
index 53d2b78fd59..863ce7e4332 100644
--- a/ace/Asynch_Acceptor.cpp
+++ b/ace/Asynch_Acceptor.cpp
@@ -369,14 +369,13 @@ ACE_Asynch_Acceptor<HANDLER>::cancel (void)
// 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) \
- || (defined (__BORLANDC__) && (__BORLANDC__ >= 0x530)))
+ && ( defined (_MSC_VER) || (defined (__BORLANDC__)))
return (int) ::CancelIo (this->listen_handle_);
#else
// Supported now
return this->asynch_accept_.cancel();
-#endif /* (defined (ACE_HAS_WINNT4) && (ACE_HAS_WINNT4 != 0)) && ((defined (_MSC_VER)) || (defined (__BORLANDC__) && (__BORLANDC__ >= 0x530))) */
+#endif /* (defined (ACE_HAS_WINNT4) && (ACE_HAS_WINNT4 != 0)) && ((defined (_MSC_VER)) || (defined (__BORLANDC__))) */
}
template <class HANDLER> void