diff options
author | harrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-19 19:59:39 +0000 |
---|---|---|
committer | harrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-19 19:59:39 +0000 |
commit | 2eb53afbdecdb84d650de01e73626a63b3f8b124 (patch) | |
tree | f73fa9c22968bf3abae13f5b0d2062139f19b663 | |
parent | 8072e82dabaa1b2d0962a5bf6c02038ee6816d2f (diff) | |
download | ATCD-2eb53afbdecdb84d650de01e73626a63b3f8b124.tar.gz |
Put in a terrible #define to make it compile on non-win32 platforms.
-rw-r--r-- | ace/Proactor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/Proactor.cpp b/ace/Proactor.cpp index ff97166a73b..b49d4c2955b 100644 --- a/ace/Proactor.cpp +++ b/ace/Proactor.cpp @@ -257,8 +257,8 @@ ACE_Proactor::handle_events (ACE_Time_Value *how_long) ACE_Overlapped_IO *overlapped = 0; u_long bytes_transferred = 0; -#if defined (ACE_WIN32) int error = 0; +#if defined (ACE_WIN32) ACE_HANDLE io_handle = ACE_INVALID_HANDLE; int timeout = how_long == 0 ? INFINITE : how_long->msec (); @@ -365,10 +365,12 @@ ACE_Proactor::initiate (ACE_Event_Handler *handler, // operation. ACE_Overlapped_IO *overlapped; +#if defined (ACE_WIN32) ACE_NEW_RETURN (overlapped, ACE_Overlapped_IO (mask, handler, msg, file, shared_event_.handle ()), -1); +#endif // Tell the handler that *this* <Proactor> is dispatching it. handler->proactor (this); |