summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/UdpTransceiver.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.h')
-rw-r--r--cpp/src/Ice/UdpTransceiver.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/Ice/UdpTransceiver.h b/cpp/src/Ice/UdpTransceiver.h
index fa81553eb3c..c2c1ff0edc5 100644
--- a/cpp/src/Ice/UdpTransceiver.h
+++ b/cpp/src/Ice/UdpTransceiver.h
@@ -16,7 +16,7 @@
#include <Ice/Transceiver.h>
#include <Ice/Network.h>
-#ifdef ICE_OS_WINRT
+#ifdef ICE_OS_UWP
# include <deque>
#endif
@@ -38,7 +38,7 @@ class UdpTransceiver : public Transceiver, public NativeInfo
public:
virtual NativeInfoPtr getNativeInfo();
-#if defined(ICE_USE_IOCP) || defined(ICE_OS_WINRT)
+#if defined(ICE_USE_IOCP) || defined(ICE_OS_UWP)
virtual AsyncInfo* getAsyncInfo(SocketOperation);
#endif
@@ -48,7 +48,7 @@ public:
virtual EndpointIPtr bind();
virtual SocketOperation write(Buffer&);
virtual SocketOperation read(Buffer&);
-#if defined(ICE_USE_IOCP) || defined(ICE_OS_WINRT)
+#if defined(ICE_USE_IOCP) || defined(ICE_OS_UWP)
virtual bool startWrite(Buffer&);
virtual void finishWrite(Buffer&);
virtual void startRead(Buffer&);
@@ -73,7 +73,7 @@ private:
void setBufSize(int, int);
-#ifdef ICE_OS_WINRT
+#ifdef ICE_OS_UWP
void appendMessage(Windows::Networking::Sockets::DatagramSocketMessageReceivedEventArgs^);
Windows::Networking::Sockets::DatagramSocketMessageReceivedEventArgs^ readMessage();
#endif
@@ -103,7 +103,7 @@ private:
AsyncInfo _write;
Address _readAddr;
socklen_t _readAddrLen;
-#elif defined(ICE_OS_WINRT)
+#elif defined(ICE_OS_UWP)
AsyncInfo _write;
Windows::Storage::Streams::DataWriter^ _writer;
IceUtil::Mutex _mutex;