Use "vc143" version-dependent compiler prefix for MSVS 2022
MSVS 2022 preview defines _MSC_VER as 1930.
This commit is contained in:
@@ -76,8 +76,10 @@
|
|||||||
#define wxCOMPILER_PREFIX vc140
|
#define wxCOMPILER_PREFIX vc140
|
||||||
#elif _MSC_VER >= 1910 && _MSC_VER < 1920
|
#elif _MSC_VER >= 1910 && _MSC_VER < 1920
|
||||||
#define wxCOMPILER_PREFIX vc141
|
#define wxCOMPILER_PREFIX vc141
|
||||||
#elif _MSC_VER >= 1920 && _MSC_VER < 2000
|
#elif _MSC_VER >= 1920 && _MSC_VER < 1930
|
||||||
#define wxCOMPILER_PREFIX vc142
|
#define wxCOMPILER_PREFIX vc142
|
||||||
|
#elif _MSC_VER >= 1930 && _MSC_VER < 2000
|
||||||
|
#define wxCOMPILER_PREFIX vc143
|
||||||
#else
|
#else
|
||||||
#error "Unknown MSVC 14.x compiler version, please report to wx-dev."
|
#error "Unknown MSVC 14.x compiler version, please report to wx-dev."
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user