summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/DynamicLibrary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/DynamicLibrary.cpp')
-rw-r--r--cpp/src/Ice/DynamicLibrary.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/Ice/DynamicLibrary.cpp b/cpp/src/Ice/DynamicLibrary.cpp
index 6f69880d177..d4f9aea6aba 100644
--- a/cpp/src/Ice/DynamicLibrary.cpp
+++ b/cpp/src/Ice/DynamicLibrary.cpp
@@ -8,6 +8,7 @@
// **********************************************************************
#include <Ice/DynamicLibrary.h>
+#include <IceUtil/StringUtil.h>
#ifndef _WIN32
# include <dlfcn.h>
@@ -90,6 +91,15 @@ IceInternal::DynamicLibrary::loadEntryPoint(const string& entryPoint, bool useIc
#ifdef _WIN32
lib = libName + version;
+#if defined(_MSC_VER) && (_MSC_VER < 1300)
+ //
+ // Special case to deal with the naming of IceSSL VC6 DLL.
+ //
+ if(IceUtilInternal::toLower(libName) == "icessl")
+ {
+ lib += "_vc6";
+ }
+#endif
# ifdef _DEBUG
lib += 'd';
# endif