diff --git a/include/fmt/core.h b/include/fmt/core.h index 4c1f5e2c4b93..f42c03201a4a 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