summaryrefslogtreecommitdiff
path: root/ace/Asynch_IO.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-10 20:59:48 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-10 20:59:48 +0000
commitb87bf8219a346115fee46aaa905cefd8262176dd (patch)
tree9f09fbab5ee11c7ff7a8fd2130d98b3da5aa7412 /ace/Asynch_IO.cpp
parentd344f68c4b3ef777a33df19e3dded7874d6a056d (diff)
downloadATCD-b87bf8219a346115fee46aaa905cefd8262176dd.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Asynch_IO.cpp')
-rw-r--r--ace/Asynch_IO.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Asynch_IO.cpp b/ace/Asynch_IO.cpp
index fdbdad6e18a..e07959feb92 100644
--- a/ace/Asynch_IO.cpp
+++ b/ace/Asynch_IO.cpp
@@ -132,7 +132,11 @@ 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)
return (int) ::CancelIo (this->handle_);
+#else
+ ACE_NOTSUP_RETURN (-1);
+#endif /* (_WIN32_WINNT) && (_WIN32_WINNT >= 0x0400) */
}
// ************************************************************