diff options
Diffstat (limited to 'cpp/src/Ice/ios/StreamAcceptor.cpp')
-rw-r--r-- | cpp/src/Ice/ios/StreamAcceptor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Ice/ios/StreamAcceptor.cpp b/cpp/src/Ice/ios/StreamAcceptor.cpp index 29b8ea47b7b..20dcb09962d 100644 --- a/cpp/src/Ice/ios/StreamAcceptor.cpp +++ b/cpp/src/Ice/ios/StreamAcceptor.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" #include "StreamAcceptor.h" @@ -146,3 +150,5 @@ IceObjC::StreamAcceptor::~StreamAcceptor() { assert(_fd == INVALID_SOCKET); } + +#endif |