summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2019-04-21 17:13:57 +0100
committerAsheraf <acheraf1998@gmail.com>2019-04-21 17:13:57 +0100
commit617ab72478b02fe514c70c8ea9b35f38f3047053 (patch)
treeb19806cad6972779aa8aca0e8d3fa05300050c63 /src
parent4fcd9b9a3891f3538ecd8a073c3f0e1c5eb85f55 (diff)
downloadhercules-617ab72478b02fe514c70c8ea9b35f38f3047053.tar.gz
hercules-617ab72478b02fe514c70c8ea9b35f38f3047053.tar.bz2
hercules-617ab72478b02fe514c70c8ea9b35f38f3047053.tar.xz
hercules-617ab72478b02fe514c70c8ea9b35f38f3047053.zip
Update MSVC version naming in console info
Diffstat (limited to 'src')
-rw-r--r--src/common/sysinfo.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/common/sysinfo.c b/src/common/sysinfo.c
index b8cb2a90a..e3977f440 100644
--- a/src/common/sysinfo.c
+++ b/src/common/sysinfo.c
@@ -2,7 +2,7 @@
* This file is part of Hercules.
* http://herc.ws - http://github.com/HerculesWS/Hercules
*
- * Copyright (C) 2013-2015 Hercules Dev Team
+ * Copyright (C) 2013-2019 Hercules Dev Team
* Copyright (C) Athena Dev Teams
*
* Hercules is free software: you can redistribute it and/or modify
@@ -221,8 +221,12 @@ enum windows_ver_suite {
#define SYSINFO_COMPILER "Microsoft Visual C++ 2012 (v" EXPAND_AND_QUOTE(_MSC_VER) ")"
#elif _MSC_VER >= 1800 && _MSC_VER < 1900
#define SYSINFO_COMPILER "Microsoft Visual C++ 2013 (v" EXPAND_AND_QUOTE(_MSC_VER) ")"
-#elif _MSC_VER >= 1900 && _MSC_VER < 2000
+#elif _MSC_VER >= 1900 && _MSC_VER < 1910
#define SYSINFO_COMPILER "Microsoft Visual C++ 2015 (v" EXPAND_AND_QUOTE(_MSC_VER) ")"
+#elif _MSC_VER >= 1910 && _MSC_VER < 1920
+#define SYSINFO_COMPILER "Microsoft Visual C++ 2017 (v" EXPAND_AND_QUOTE(_MSC_VER) ")"
+#elif _MSC_VER >= 1920 && _MSC_VER < 2000
+#define SYSINFO_COMPILER "Microsoft Visual C++ 2019 (v" EXPAND_AND_QUOTE(_MSC_VER) ")"
#else // < 1300 || >= 2000
#define SYSINFO_COMPILER "Microsoft Visual C++ v" EXPAND_AND_QUOTE(_MSC_VER)
#endif