Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2017-08-14 21:03:46 +0300
committerKacper Michajłow <kasper93@gmail.com>2017-08-15 23:23:00 +0300
commitfa5024b8c8c93e9cc53055a9a9ce10ec370d7db7 (patch)
tree92f536184e9e9b85f8398480c5112853544e2ba9
parentbf13748b32a653595d290e4eaeedcf3dba4200f5 (diff)
AboutDlg: Show proper compiler version.
-rw-r--r--src/mpc-hc/AboutDlg.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mpc-hc/AboutDlg.cpp b/src/mpc-hc/AboutDlg.cpp
index 42560e5f5..1f5d0e033 100644
--- a/src/mpc-hc/AboutDlg.cpp
+++ b/src/mpc-hc/AboutDlg.cpp
@@ -94,15 +94,11 @@ BOOL CAboutDlg::OnInitDialog()
#error Compiler is not supported!
#endif
#elif defined(_MSC_VER)
-#if (_MSC_VER == 1910) // 2017
-#if (_MSC_FULL_VER >= 191025017 && _MSC_FULL_VER <= 191025019)
- m_MPCCompiler = _T("MSVC 2017");
-#else
+#if (_MSC_VER > 1910)
m_MPCCompiler.Format(_T("MSVC v%.2d.%.2d.%.5d"), _MSC_VER / 100, _MSC_VER % 100, _MSC_FULL_VER % 100000);
#if _MSC_BUILD
m_MPCCompiler.AppendFormat(_T(".%.2d"), _MSC_BUILD);
#endif
-#endif
#elif (_MSC_VER == 1900) // 2015
#if (_MSC_FULL_VER >= 190024210 && _MSC_FULL_VER <= 190024218)
m_MPCCompiler = _T("MSVC 2015 Update 3");