Adjust definition for FMT_HAS_INCLUDE

Adjust definition for FMT_HAS_INCLUDE

Remove check for `!FMT_MSC_VER`
This commit is contained in:
Aidan Sun 2021-06-22 18:22:19 -04:00 committed by Victor Zverovich
parent 0bc3d664e3
commit f85fb9fdff

View File

@ -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