From 84aa6822ec7a3ba00afcab88206a9e12c45be00c 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 4c1f5e2c..f42c0320 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