summaryrefslogtreecommitdiff
path: root/cpp/include/IceSSL/SecureTransport.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-06-11 11:37:00 +0200
committerJose <jose@zeroc.com>2018-06-11 11:37:00 +0200
commit53860a88bd958dc832d2ffeb028591c2b7cb552b (patch)
tree376ab9dc939bad6d5404f35ac54b74c43a854969 /cpp/include/IceSSL/SecureTransport.h
parentAdd third party license to NuGet packages (diff)
downloadice-53860a88bd958dc832d2ffeb028591c2b7cb552b.tar.bz2
ice-53860a88bd958dc832d2ffeb028591c2b7cb552b.tar.xz
ice-53860a88bd958dc832d2ffeb028591c2b7cb552b.zip
Use ifndef around OS specific headers
Fixes #52
Diffstat (limited to 'cpp/include/IceSSL/SecureTransport.h')
-rw-r--r--cpp/include/IceSSL/SecureTransport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/include/IceSSL/SecureTransport.h b/cpp/include/IceSSL/SecureTransport.h
index 42d3c54ed42..a13b0a312f6 100644
--- a/cpp/include/IceSSL/SecureTransport.h
+++ b/cpp/include/IceSSL/SecureTransport.h
@@ -10,6 +10,8 @@
#ifndef ICESSL_SECURE_TRANSPORT_H
#define ICESSL_SECURE_TRANSPORT_H
+#ifdef __APPLE__
+
#include <IceSSL/Plugin.h>
#include <Security/Security.h>
@@ -71,3 +73,5 @@ public:
} // IceSSL namespace end
#endif
+
+#endif