diff --git a/include/msvc/wx/setup.h b/include/msvc/wx/setup.h index e8407379e5..375c70e04b 100644 --- a/include/msvc/wx/setup.h +++ b/include/msvc/wx/setup.h @@ -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