diff options
author | Jose <jose@zeroc.com> | 2019-10-01 22:23:18 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-10-01 22:23:18 +0200 |
commit | a086f357897326902e194f9daa2c37e7f8ce591e (patch) | |
tree | 3dba1c3ce00b45c08731e76a1753df36697b4e2e /cpp/src/Ice/TcpTransceiver.cpp | |
parent | Build IceIAP only with iOS platforms (diff) | |
download | ice-a086f357897326902e194f9daa2c37e7f8ce591e.tar.bz2 ice-a086f357897326902e194f9daa2c37e7f8ce591e.tar.xz ice-a086f357897326902e194f9daa2c37e7f8ce591e.zip |
Conditional compilation of TCP transport with Swift builds
Diffstat (limited to 'cpp/src/Ice/TcpTransceiver.cpp')
-rw-r--r-- | cpp/src/Ice/TcpTransceiver.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/TcpTransceiver.cpp b/cpp/src/Ice/TcpTransceiver.cpp index b7cfabcdddc..667745b332a 100644 --- a/cpp/src/Ice/TcpTransceiver.cpp +++ b/cpp/src/Ice/TcpTransceiver.cpp @@ -2,6 +2,10 @@ // Copyright (c) ZeroC, Inc. All rights reserved. // +#include <Ice/Config.h> + +#if !defined(__APPLE__) || TARGET_OS_IPHONE == 0 + #include <Ice/TcpTransceiver.h> #include <Ice/Connection.h> #include <Ice/ProtocolInstance.h> @@ -128,3 +132,4 @@ IceInternal::TcpTransceiver::TcpTransceiver(const ProtocolInstancePtr& instance, IceInternal::TcpTransceiver::~TcpTransceiver() { } +#endif |