Detect MSVS 2019 in msvc/wx/setup.h correctly
_MSC_VER 1920 should be detected as MSVS 2019, which corresponds to 14.2 toolset value, rather than 14.1.
This commit is contained in:
committed by
Vadim Zeitlin
parent
f670cf2d29
commit
c2c3096530
@@ -65,8 +65,10 @@
|
||||
#define wxCOMPILER_PREFIX vc120
|
||||
#elif _MSC_VER == 1900
|
||||
#define wxCOMPILER_PREFIX vc140
|
||||
#elif _MSC_VER >= 1910 && _MSC_VER < 2000
|
||||
#elif _MSC_VER >= 1910 && _MSC_VER < 1920
|
||||
#define wxCOMPILER_PREFIX vc141
|
||||
#elif _MSC_VER >= 1920 && _MSC_VER < 2000
|
||||
#define wxCOMPILER_PREFIX vc142
|
||||
#else
|
||||
#error "Unknown MSVC compiler version, please report to wx-dev."
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user