summaryrefslogtreecommitdiff
path: root/cpp/include
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
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')
-rw-r--r--cpp/include/IceSSL/SChannel.h4
-rw-r--r--cpp/include/IceSSL/SecureTransport.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/cpp/include/IceSSL/SChannel.h b/cpp/include/IceSSL/SChannel.h
index e6af5af566f..3c5908bb8b4 100644
--- a/cpp/include/IceSSL/SChannel.h
+++ b/cpp/include/IceSSL/SChannel.h
@@ -10,6 +10,8 @@
#ifndef ICESSL_SCHANNEL_H
#define ICESSL_SCHANNEL_H
+#ifdef _WIN32
+
#include <IceSSL/Plugin.h>
#include <wincrypt.h>
@@ -71,3 +73,5 @@ public:
} // IceSSL namespace end
#endif
+
+#endif
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