summaryrefslogtreecommitdiff
path: root/ace/Msg_WFMO_Reactor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Msg_WFMO_Reactor.cpp')
-rw-r--r--ace/Msg_WFMO_Reactor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Msg_WFMO_Reactor.cpp b/ace/Msg_WFMO_Reactor.cpp
index b3874764255..05035860a20 100644
--- a/ace/Msg_WFMO_Reactor.cpp
+++ b/ace/Msg_WFMO_Reactor.cpp
@@ -37,7 +37,7 @@ ACE_Msg_WFMO_Reactor::wait_for_multiple_events (int timeout,
// ReadFile and WriteFile operations. QS_ALLINPUT allows
// <MsgWaitForMultipleObjectsEx> to wait for any message is in the
// queue.
-#if defined (_WIN32_WINNT) && (_WIN32_WINNT >= 0x0400)
+#if (defined (ACE_HAS_WINNT4) && (ACE_HAS_WINNT4 != 0))
return ::MsgWaitForMultipleObjectsEx (this->handler_rep_.max_handlep1 (),
this->handler_rep_.handles (),
timeout,
@@ -50,7 +50,7 @@ ACE_Msg_WFMO_Reactor::wait_for_multiple_events (int timeout,
FALSE,
timeout,
QS_ALLINPUT);
-#endif /* (_WIN32_WINNT) && (_WIN32_WINNT >= 0x0400) */
+#endif /* (defined (ACE_HAS_WINNT4) && (ACE_HAS_WINNT4 != 0)) */
}
int