From f85fb9fdff45e1de2ac9be2091a829f4f1b24df0 Mon Sep 17 00:00:00 2001 From: Aidan Sun Date: Tue, 22 Jun 2021 18:22:19 -0400 Subject: [PATCH] Adjust definition for FMT_HAS_INCLUDE Adjust definition for FMT_HAS_INCLUDE Remove check for `!FMT_MSC_VER` --- include/fmt/core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 6b564fbf..0cbfc49b 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -64,7 +64,8 @@ # define FMT_HAS_FEATURE(x) 0 #endif -#if defined(__has_include) && !defined(__INTELLISENSE__) && \ +#if defined(__has_include) && \ + (!defined(__INTELLISENSE__) || FMT_MSC_VER > 1900) && \ (!FMT_ICC_VERSION || FMT_ICC_VERSION >= 1600) # define FMT_HAS_INCLUDE(x) __has_include(x) #else