diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-27 22:53:32 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-27 22:53:32 +0000 |
commit | a614dfa3f55253b2b3d70f7d74e021f23a6b6a65 (patch) | |
tree | 8daf5b8943cacda70359d1373b7bb5a55873d129 /ace/Asynch_Acceptor.cpp | |
parent | fd2a96929350311a0ac47725b4ef158fb237a0e2 (diff) | |
download | ATCD-a614dfa3f55253b2b3d70f7d74e021f23a6b6a65.tar.gz |
.
Diffstat (limited to 'ace/Asynch_Acceptor.cpp')
-rw-r--r-- | ace/Asynch_Acceptor.cpp | 6 |
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 |