From 0bcaf2fa049c966c2b146f76d765da191840bc1e Mon Sep 17 00:00:00 2001 From: Haibo Date: Sun, 11 Nov 2018 03:04:11 +0800 Subject: [PATCH] fix: macro mistake --- core/base/macros.h | 2 +- core/easy2d.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/base/macros.h b/core/base/macros.h index 2df001c4..21d65e3e 100644 --- a/core/base/macros.h +++ b/core/base/macros.h @@ -63,7 +63,7 @@ #include -#if _MSC_VER >= 1900 +#if _MSC_VER >= 1900 // >= Visual Studio 2015 # define E2D_NOEXCEPT noexcept #else # define E2D_NOEXCEPT throw() diff --git a/core/easy2d.h b/core/easy2d.h index 1f423a5f..d650e585 100644 --- a/core/easy2d.h +++ b/core/easy2d.h @@ -31,8 +31,8 @@ #ifndef _MSC_VER # error 仅支持在 MSVC 环境下编译 -#elif _MSC_VER < 1700 -# error Easy2D 不支持 Visual Studio 2012 以下版本 +#elif _MSC_VER < 1800 +# error Easy2D 不支持 Visual Studio 2013 以下版本 #endif