From 5f89344c8425fb527f7e6bf6817d99d2488889f7 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sat, 13 Jun 2020 19:08:29 +0800 Subject: [PATCH] =?UTF-8?q?VC=E6=9C=80=E4=BD=8E=E6=94=AF=E6=8C=81=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=94=B9=E4=B8=BAvc2017?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/hgl/platform/compiler/Microsoft.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/hgl/platform/compiler/Microsoft.h b/inc/hgl/platform/compiler/Microsoft.h index 028e0ed..9bf7dc0 100644 --- a/inc/hgl/platform/compiler/Microsoft.h +++ b/inc/hgl/platform/compiler/Microsoft.h @@ -4,13 +4,13 @@ #define HGL_COMPILER_NAME OS_TEXT("Microsoft C/C++") #define HGL_LIB_COMPILER_NAME OS_TEXT("MSC") -#if _MSC_VER < 1900 //Visual C++ 2015(19) - #error Please upgrade your compiler or development tools to Microsoft C/C++ 19.0 (Visual C++ 2015) or later. +#if _MSC_VER < 1910 //Visual C++ 2017 + #error Please upgrade your compiler or development tools to Microsoft C/C++ 19.1 (Visual C++ 2017) or later. #else - #if _MSC_VER >= 1910 + #if _MSC_VER >= 1920 + #define HGL_LIB_COMPILER_VERSION OS_TEXT("19.2") //Visual C++ 2019 + #elif _MSC_VER >= 1910 #define HGL_LIB_COMPILER_VERSION OS_TEXT("19.1") //Visual C++ 2017 - #elif _MSC_VER == 1900 - #define HGL_LIB_COMPILER_VERSION OS_TEXT("19") //Visual C++ 2015 #else #define HGL_LIB_COMPILER_VERSION OS_TEXT("Unknow") #endif//_MSC_VER