summaryrefslogtreecommitdiff
path: root/ace/Asynch_IO.cpp
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-19 15:43:27 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-19 15:43:27 +0000
commit2f849946c16f1ba226f490b9caa34d7fe0eedeef (patch)
tree561533ca68b190e5e64ac8905c472ff43510dca4 /ace/Asynch_IO.cpp
parentff81b108f867e9c97edbab436994c1133c1ddf81 (diff)
downloadATCD-2f849946c16f1ba226f490b9caa34d7fe0eedeef.tar.gz
Fixed the build errors with WIN32.
Diffstat (limited to 'ace/Asynch_IO.cpp')
-rw-r--r--ace/Asynch_IO.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/Asynch_IO.cpp b/ace/Asynch_IO.cpp
index 17fd51cdd62..dbfbc8110fd 100644
--- a/ace/Asynch_IO.cpp
+++ b/ace/Asynch_IO.cpp
@@ -908,8 +908,9 @@ ACE_Asynch_Accept::ACE_Asynch_Accept (void)
}
#endif /* ACE_HAS_AIO_CALLS */
+#if defined (ACE_HAS_AIO_CALLS)
int
-ACE_Asynch_Accept::open (ACE_Handler &handler,
+ACE_Asynch_Accept::open(ACE_Handler &handler,
ACE_HANDLE handle,
const void *completion_key,
ACE_Proactor *proactor)
@@ -940,6 +941,7 @@ ACE_Asynch_Accept::open (ACE_Handler &handler,
ACE_Thread_Manager::instance ()->spawn (ACE_Asynch_Accept::thread_function,
(void *)&this->reactor_);
}
+#endif /* ACE_HAS_AIO_CALLS */
int
ACE_Asynch_Accept::accept (ACE_Message_Block &message_block,