Add MSVC/2022 to version.h

This commit is contained in:
Tony Butler 2022-01-28 21:09:24 -07:00
parent 41a3f97060
commit 15de3cc16c

View file

@ -33,7 +33,9 @@
#define APP_VER_PATCH 4 #define APP_VER_PATCH 4
#ifdef _MSC_VER #ifdef _MSC_VER
# if (_MSC_VER >= 1920) # if (_MSC_VER >= 1930)
# define MSVC_VERSION 2022
# elif (_MSC_VER >= 1920 && _MSC_VER < 1930)
# define MSVC_VERSION 2019 # define MSVC_VERSION 2019
# elif (_MSC_VER >= 1910 && _MSC_VER < 1920) # elif (_MSC_VER >= 1910 && _MSC_VER < 1920)
# define MSVC_VERSION 2017 # define MSVC_VERSION 2017