summaryrefslogtreecommitdiff
path: root/cpp/include/IceSSL/Plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/IceSSL/Plugin.h')
-rw-r--r--cpp/include/IceSSL/Plugin.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/include/IceSSL/Plugin.h b/cpp/include/IceSSL/Plugin.h
index c5186c413cf..5a7e7ea86cc 100644
--- a/cpp/include/IceSSL/Plugin.h
+++ b/cpp/include/IceSSL/Plugin.h
@@ -21,10 +21,8 @@
//
// Automatically link IceSSL[D].lib with Visual C++
//
-#ifdef _MSC_VER
-# if defined(ICE_STATIC_LIBS)
-# error("IceSSL Plugin does not support static libraries")
-# elif !defined(ICE_SSL_API_EXPORTS)
+#if defined(_MSC_VER) && !defined(ICE_NO_PRAGMA_COMMENT)
+# if !defined(ICE_STATIC_LIBS) && !defined(ICE_SSL_API_EXPORTS)
# if defined(_DEBUG)
# pragma comment(lib, "IceSSLD.lib")
# else