Skip to content

Commit c717e81

Browse files
author
mikeblome
committed
fixed #1320
1 parent 33dc1c1 commit c717e81

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/preprocessor/predefined-macros.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ MSVC supports these additional predefined macros.
237237
|Visual Studio 2017 version 15.8|1915|
238238
|Visual Studio 2017 version 15.9|1916|
239239
|Visual Studio 2019 RTW (16.0)|1920|
240+
|Visual Studio 2019 version 16.1|1921|
241+
|Visual Studio 2019 version 16.2|1922|
242+
|Visual Studio 2019 version 16.3|1923|
240243
241244
To test for compiler releases or updates in a given version of Visual Studio or after, use the **>=** operator. You can use it in a conditional directive to compare **_MSC_VER** against that known version. If you have several mutually exclusive versions to compare, order your comparisons in descending order of version number. For example, this code checks for compilers released in Visual Studio 2017 and later. Next, it checks for compilers released in or after Visual Studio 2015. Then it checks for all compilers released before Visual Studio 2015:
242245

0 commit comments

Comments
 (0)