diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-05-12 19:08:11 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-05-12 19:08:11 +0200 |
commit | 01deccdc1abf67d0e8e2369ed60a5a6ea017ef0f (patch) | |
tree | 730836f4e68362b0e60f2ea97ab3ac07d35a7321 /cpp/src | |
parent | Added IceWS support to WinRT (diff) | |
download | ice-01deccdc1abf67d0e8e2369ed60a5a6ea017ef0f.tar.bz2 ice-01deccdc1abf67d0e8e2369ed60a5a6ea017ef0f.tar.xz ice-01deccdc1abf67d0e8e2369ed60a5a6ea017ef0f.zip |
Fixed problem introduced with latest fix (htons/ntohs should only be defined for WinRT)
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/IceWS/TransceiverI.cpp | 2 |
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 } |