mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 10:01:06 +00:00
Fixed MSVC 2019 version detection.
This commit is contained in:
parent
ffb282a11a
commit
6fb014d0b1
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@
|
||||||
#define APP_VER_PATCH 4
|
#define APP_VER_PATCH 4
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# if (_MSC_VER >= 1910)
|
# if (_MSC_VER >= 1920)
|
||||||
|
# define MSVC_VERSION 2019
|
||||||
|
# elif (_MSC_VER >= 1910 && _MSC_VER < 1920)
|
||||||
# define MSVC_VERSION 2017
|
# define MSVC_VERSION 2017
|
||||||
# elif _MSC_VER == 1900
|
# elif _MSC_VER == 1900
|
||||||
# define MSVC_VERSION 2015
|
# define MSVC_VERSION 2015
|
||||||
|
|
Loading…
Reference in a new issue