summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/IceWS/TransceiverI.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/IceWS/TransceiverI.cpp b/cpp/src/IceWS/TransceiverI.cpp
index 597e432b19b..b30f1b8c547 100644
--- a/cpp/src/IceWS/TransceiverI.cpp
+++ b/cpp/src/IceWS/TransceiverI.cpp
@@ -123,6 +123,7 @@ Long nlltoh(const Byte* src)
return v;
}
+#if defined(ICE_OS_WINRT)
Short htons(Short v)
{
Short result;
@@ -163,6 +164,7 @@ Short ntohs(Short value)
return v;
}
+#endif
}