summaryrefslogtreecommitdiff
path: root/cpp/include/IcePatch2/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/IcePatch2/Config.h')
-rw-r--r--cpp/include/IcePatch2/Config.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/cpp/include/IcePatch2/Config.h b/cpp/include/IcePatch2/Config.h
index 12457f45e7a..d333b21de71 100644
--- a/cpp/include/IcePatch2/Config.h
+++ b/cpp/include/IcePatch2/Config.h
@@ -11,22 +11,15 @@
#define ICE_PATCH2_CONFIG_H
//
-// Automatically link with IcePatch2[D].lib
+// Automatically link with IcePatch2[D|++11|++11D].lib
//
#if !defined(ICE_BUILDING_ICE_PATCH2) && defined(ICE_PATCH2_API_EXPORTS)
# define ICE_BUILDING_ICE_PATCH2
#endif
-#ifdef _MSC_VER
-# if !defined(ICE_BUILDING_ICE_PATCH2)
-# if defined(_DEBUG) && !defined(ICE_OS_WINRT)
-# pragma comment(lib, "IcePatch2D.lib")
-# else
-# pragma comment(lib, "IcePatch2.lib")
-# endif
-# endif
+#if defined(_MSC_VER) && !defined(ICE_BUILDING_ICE_PATCH2)
+# pragma comment(lib, ICE_LIBNAME("IcePatch2"))
#endif
#endif
-