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/TcpConnector.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/TcpConnector.cpp')
-rw-r--r-- | cpp/src/Ice/TcpConnector.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/TcpConnector.cpp b/cpp/src/Ice/TcpConnector.cpp index d4b8365f9ec..39346fb4524 100644 --- a/cpp/src/Ice/TcpConnector.cpp +++ b/cpp/src/Ice/TcpConnector.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/TcpConnector.h> #include <Ice/TcpTransceiver.h> #include <Ice/TcpEndpointI.h> @@ -120,3 +124,4 @@ IceInternal::TcpConnector::TcpConnector(const ProtocolInstancePtr& instance, con IceInternal::TcpConnector::~TcpConnector() { } +#endif |