diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/TcpAcceptor.cpp | 6 | ||||
-rw-r--r-- | cpp/src/Ice/TcpConnector.cpp | 5 | ||||
-rw-r--r-- | cpp/src/Ice/TcpEndpointI.cpp | 5 | ||||
-rw-r--r-- | cpp/src/Ice/TcpTransceiver.cpp | 5 |
4 files changed, 21 insertions, 0 deletions
diff --git a/cpp/src/Ice/TcpAcceptor.cpp b/cpp/src/Ice/TcpAcceptor.cpp index 6086199dff7..6ee669f4ed9 100644 --- a/cpp/src/Ice/TcpAcceptor.cpp +++ b/cpp/src/Ice/TcpAcceptor.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/TcpAcceptor.h> #include <Ice/TcpTransceiver.h> #include <Ice/TcpEndpointI.h> @@ -347,3 +351,5 @@ IceInternal::TcpAcceptor::~TcpAcceptor() assert(_acceptFd == INVALID_SOCKET); #endif } + +#endif 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 diff --git a/cpp/src/Ice/TcpEndpointI.cpp b/cpp/src/Ice/TcpEndpointI.cpp index da22a57c165..5ea629250b7 100644 --- a/cpp/src/Ice/TcpEndpointI.cpp +++ b/cpp/src/Ice/TcpEndpointI.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/TcpEndpointI.h> #include <Ice/Network.h> #include <Ice/TcpAcceptor.h> @@ -378,3 +382,4 @@ IceInternal::TcpEndpointFactory::clone(const ProtocolInstancePtr& instance) cons { return new TcpEndpointFactory(instance); } +#endif 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 |