From 256ceeeb47ef9b56a965d1676754338264c4c667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ben=20Gr=C3=A4f?= Date: Fri, 31 May 2019 22:50:38 +0200 Subject: [PATCH] Fixed MS Visual Studio 2019 compatibility --- src/version.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/version.h b/src/version.h index e9323a51..6bb24547 100644 --- a/src/version.h +++ b/src/version.h @@ -61,7 +61,9 @@ #endif #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 # elif _MSC_VER == 1900 # define MSVC_VERSION 2015