aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/utils/XBMCTinyXML.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/xbmc/utils/XBMCTinyXML.h b/xbmc/utils/XBMCTinyXML.h
index c6b4fe22f2..9a3a4de424 100644
--- a/xbmc/utils/XBMCTinyXML.h
+++ b/xbmc/utils/XBMCTinyXML.h
@@ -24,11 +24,19 @@
#endif
#ifdef TARGET_WINDOWS
#define TIXML_USE_STL
+#if _MSC_VER < 1700
#ifdef _DEBUG
#pragma comment(lib, "tinyxmlSTLd.lib")
#else
#pragma comment(lib, "tinyxmlSTL.lib")
#endif
+#else // _MSC_VER < 1700
+#ifdef _DEBUG
+#pragma comment(lib, "tinyxmlSTL11d.lib")
+#else
+#pragma comment(lib, "tinyxmlSTL11.lib")
+#endif
+#endif // _MSC_VER < 1700
#else
//compile fix for TinyXml < 2.6.0
#define DOCUMENT TINYXML_DOCUMENT