1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-06 15:42:38 -05:00

add detection for MSVC/2026

This commit is contained in:
Tony Wang
2025-11-12 17:32:57 -05:00
parent 6e4a5a6d94
commit e88009d575

View File

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