diff options
author | Jose <jose@zeroc.com> | 2019-07-01 20:00:13 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-07-01 20:00:13 +0200 |
commit | a3cb0f03fc15f05138a879ba4619784af547d13c (patch) | |
tree | e29d32dc765bf6bd6913346f09d68b8743562f5b /cpp/src/Ice/ios/StreamTransceiver.cpp | |
parent | pass SLICEFLAGS to Slice compilers (diff) | |
download | ice-a3cb0f03fc15f05138a879ba4619784af547d13c.tar.bz2 ice-a3cb0f03fc15f05138a879ba4619784af547d13c.tar.xz ice-a3cb0f03fc15f05138a879ba4619784af547d13c.zip |
Add ifdef around iOS specific code
Diffstat (limited to 'cpp/src/Ice/ios/StreamTransceiver.cpp')
-rw-r--r-- | cpp/src/Ice/ios/StreamTransceiver.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/ios/StreamTransceiver.cpp b/cpp/src/Ice/ios/StreamTransceiver.cpp index fc42cb948ea..1405e476d39 100644 --- a/cpp/src/Ice/ios/StreamTransceiver.cpp +++ b/cpp/src/Ice/ios/StreamTransceiver.cpp @@ -2,6 +2,10 @@ // Copyright (c) ZeroC, Inc. All rights reserved. // +#include <Ice/Config.h> + +#if TARGET_OS_IPHONE != 0 + #include "StreamTransceiver.h" #include "StreamEndpointI.h" @@ -547,3 +551,4 @@ IceObjC::StreamTransceiver::checkErrorStatus(CFWriteStreamRef writeStream, CFRea } throw CFNetworkException(file, line, static_cast<int>(CFErrorGetCode(err.get())), fromCFString(domain)); } +#endif |