diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-21 04:56:04 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-21 04:56:04 +0000 |
commit | 5d74c7d8954895b3702154cfd5debe2aeec9dca1 (patch) | |
tree | 18eba8441dc2f894445d11899eb3f04ae6889a33 /ace/Asynch_IO.cpp | |
parent | 0db8b0372ad70130f38041dd4cd075a269ca962b (diff) | |
download | ATCD-5d74c7d8954895b3702154cfd5debe2aeec9dca1.tar.gz |
MSVC 4.2 doesn't support CancelIo call.
Diffstat (limited to 'ace/Asynch_IO.cpp')
-rw-r--r-- | ace/Asynch_IO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Asynch_IO.cpp b/ace/Asynch_IO.cpp index b3ac3e9d258..1430885e1c4 100644 --- a/ace/Asynch_IO.cpp +++ b/ace/Asynch_IO.cpp @@ -132,7 +132,7 @@ ACE_Asynch_Operation::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 (_WIN32_WINNT) && (_WIN32_WINNT >= 0x0400) +#if defined (_WIN32_WINNT) && (_WIN32_WINNT >= 0x0400) && defined (_MSC_VER) && (_MSC_VER > 1020) return (int) ::CancelIo (this->handle_); #else ACE_NOTSUP_RETURN (-1); |