summaryrefslogtreecommitdiff
path: root/cpp/include/IceSSL/IceSSL.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-03-16 16:11:24 +0100
committerJose <jose@zeroc.com>2017-03-16 16:11:24 +0100
commitc6f4057a8975e2312d82f22af59f2069d2b5e8ab (patch)
tree1312f2c5798821dd8b4c583f30983542d9528790 /cpp/include/IceSSL/IceSSL.h
parentRemoved C# Ice.BatchRequestInterceptor (ICE-7662) (diff)
downloadice-c6f4057a8975e2312d82f22af59f2069d2b5e8ab.tar.bz2
ice-c6f4057a8975e2312d82f22af59f2069d2b5e8ab.tar.xz
ice-c6f4057a8975e2312d82f22af59f2069d2b5e8ab.zip
Fixed (ICE-7621) - Refactor IceSSL API to support multiple implementations
Diffstat (limited to 'cpp/include/IceSSL/IceSSL.h')
-rw-r--r--cpp/include/IceSSL/IceSSL.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/cpp/include/IceSSL/IceSSL.h b/cpp/include/IceSSL/IceSSL.h
index 87882208554..4052921c511 100644
--- a/cpp/include/IceSSL/IceSSL.h
+++ b/cpp/include/IceSSL/IceSSL.h
@@ -13,6 +13,19 @@
#include <IceUtil/PushDisableWarnings.h>
#include <Ice/Config.h>
#include <IceSSL/Plugin.h>
+
+#if defined(_WIN32)
+# if defined(ICE_OS_UWP)
+# include <IceSSL/UWP.h>
+# else
+# include <IceSSL/SChannel.h>
+# endif
+#elif defined(__APPLE__)
+# include <IceSSL/SecureTransport.h>
+#else
+# include <IceSSL/OpenSSL.h>
+#endif
+
#include <IceSSL/EndpointInfo.h>
#include <IceSSL/ConnectionInfo.h>
#include <IceUtil/PopDisableWarnings.h>