summaryrefslogtreecommitdiff
path: root/ace/Select_Reactor.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-16 04:09:27 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-16 04:09:27 +0000
commitec9e29637277ee6cfa0df66bf04000ffa4f113ee (patch)
tree805db1e1ded3a3353344341da990abcc5b4ffe6a /ace/Select_Reactor.h
parentea669b5ec844949cca83587d3682db337a098c56 (diff)
downloadATCD-ec9e29637277ee6cfa0df66bf04000ffa4f113ee.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Select_Reactor.h')
-rw-r--r--ace/Select_Reactor.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ace/Select_Reactor.h b/ace/Select_Reactor.h
index ff05d081f44..811a4e687d9 100644
--- a/ace/Select_Reactor.h
+++ b/ace/Select_Reactor.h
@@ -385,10 +385,21 @@ public:
// <handle> is given the Select_Reactor will *not* call
// eh->get_handle() to extract the underlying I/O handle.
+#if defined (ACE_WIN32)
+
+ // Originally this interface was available for all platforms, but
+ // because ACE_HANDLE is an int on non-Win32 platforms, compilers
+ // are not able to tell the difference between
+ // register_handler(ACE_Event_Handler*,ACE_Reactor_Mask) and
+ // register_handler(ACE_Event_Handler*,ACE_HANDLE). Therefore, we
+ // have restricted this method to Win32 only.
+
virtual int register_handler (ACE_Event_Handler *event_handler,
ACE_HANDLE event_handle = ACE_INVALID_HANDLE);
// Not implemented.
+#endif /* ACE_WIN32 */
+
virtual int register_handler (ACE_HANDLE event_handle,
ACE_HANDLE io_handle,
ACE_Event_Handler *event_handler,