summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/EventHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/EventHandler.h')
-rw-r--r--cpp/src/Ice/EventHandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/EventHandler.h b/cpp/src/Ice/EventHandler.h
index 5f015365ec8..da1df3b93a4 100644
--- a/cpp/src/Ice/EventHandler.h
+++ b/cpp/src/Ice/EventHandler.h
@@ -24,7 +24,7 @@ class EventHandler : virtual public ::IceUtil::Shared
{
public:
-#ifdef ICE_USE_IOCP
+#if defined(ICE_USE_IOCP) || defined(ICE_OS_WINRT)
//
// Called to start a new asynchronous read or write operation.
//
@@ -57,7 +57,7 @@ protected:
EventHandler();
ICE_API virtual ~EventHandler();
-#ifdef ICE_USE_IOCP
+#if defined(ICE_USE_IOCP) || defined(ICE_OS_WINRT)
SocketOperation _ready;
SocketOperation _pending;
SocketOperation _started;