Correctly identify MSVC 2022 in system info

This commit is contained in:
Robert Griebl
2024-12-10 00:03:19 +01:00
parent 0aaf865685
commit 970c8098e9
+3 -1
View File
@@ -16,7 +16,9 @@
#define BS_STR2(s) #s
#if defined(_MSC_VER)
# if _MSC_VER >= 1920
# if _MSC_VER >= 1930
# define BRICKSTORE_COMPILER_VERSION_SUB "2022 (" BS_STR(_MSC_FULL_VER) ")"
# elif _MSC_VER >= 1920
# define BRICKSTORE_COMPILER_VERSION_SUB "2019 (" BS_STR(_MSC_FULL_VER) ")"
# elif _MSC_VER >= 1910
# define BRICKSTORE_COMPILER_VERSION_SUB "2017 (" BS_STR(_MSC_FULL_VER) ")"