summaryrefslogtreecommitdiff
path: root/cpp/include/IceStorm/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/IceStorm/Config.h')
-rw-r--r--cpp/include/IceStorm/Config.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/cpp/include/IceStorm/Config.h b/cpp/include/IceStorm/Config.h
index 0a7f3cb9794..b290a34e67a 100644
--- a/cpp/include/IceStorm/Config.h
+++ b/cpp/include/IceStorm/Config.h
@@ -10,22 +10,18 @@
#ifndef ICE_STORM_CONFIG_H
#define ICE_STORM_CONFIG_H
+#include <IceUtil/Config.h>
+
//
-// Automatically link with IceStorm[D].lib
+// Automatically link with IceStorm[D|++11|++11D].lib
//
#if !defined(ICE_BUILDING_ICE_STORM_LIB) && defined(ICE_STORM_LIB_API_EXPORTS)
# define ICE_BUILDING_ICE_STORM_LIB
#endif
-#ifdef _MSC_VER
-# if !defined(ICE_BUILDING_ICE_STORM_LIB)
-# if defined(_DEBUG) && !defined(ICE_OS_WINRT)
-# pragma comment(lib, "IceStormD.lib")
-# else
-# pragma comment(lib, "IceStorm.lib")
-# endif
-# endif
+#if defined(_MSC_VER) && !defined(ICE_BUILDING_ICE_STORM_LIB)
+# pragma comment(lib, ICE_LIBNAME("IceStorm"))
#endif
#endif