summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ios/StreamTransceiver.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-07-01 20:00:13 +0200
committerJose <jose@zeroc.com>2019-07-01 20:00:13 +0200
commita3cb0f03fc15f05138a879ba4619784af547d13c (patch)
treee29d32dc765bf6bd6913346f09d68b8743562f5b /cpp/src/Ice/ios/StreamTransceiver.h
parentpass SLICEFLAGS to Slice compilers (diff)
downloadice-a3cb0f03fc15f05138a879ba4619784af547d13c.tar.bz2
ice-a3cb0f03fc15f05138a879ba4619784af547d13c.tar.xz
ice-a3cb0f03fc15f05138a879ba4619784af547d13c.zip
Add ifdef around iOS specific code
Diffstat (limited to 'cpp/src/Ice/ios/StreamTransceiver.h')
-rw-r--r--cpp/src/Ice/ios/StreamTransceiver.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Ice/ios/StreamTransceiver.h b/cpp/src/Ice/ios/StreamTransceiver.h
index ed210c3c6e8..8b2b4993c2b 100644
--- a/cpp/src/Ice/ios/StreamTransceiver.h
+++ b/cpp/src/Ice/ios/StreamTransceiver.h
@@ -5,6 +5,10 @@
#ifndef ICE_STREAM_TRANSCEIVER_H
#define ICE_STREAM_TRANSCEIVER_H
+#include <Ice/Config.h>
+
+#if TARGET_OS_IPHONE != 0
+
#include <Ice/WSTransceiver.h>
#include <Ice/Network.h>
#include <Ice/Selector.h>
@@ -85,3 +89,5 @@ private:
}
#endif
+
+#endif