We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ca8e1c commit 9ab4f56Copy full SHA for 9ab4f56
src/lib/DebugInfo/PDB/DIA/DIASession.cpp
@@ -58,9 +58,9 @@ Error LoadDIA(CComPtr<IDiaDataSource> &DiaDataSource) {
58
#endif
59
60
const wchar_t *msdia_dll = nullptr;
61
-#if _MSC_VER == 1900
+#if _MSC_VER >= 1900 && _MSC_VER < 2000
62
msdia_dll = L"msdia140.dll"; // VS2015
63
-#elif _MSC_VER == 1800
+#elif _MSC_VER >= 1800
64
msdia_dll = L"msdia120.dll"; // VS2013
65
#else
66
#error "Unknown Visual Studio version."
0 commit comments