work around issue of the Intel compiler disguising as clang on macos

This commit is contained in:
Axel Kohlmeyer
2020-07-17 21:28:35 -04:00
parent c5698ac994
commit eff159baf4

View File

@ -74,7 +74,7 @@
#endif #endif
#if __cplusplus == 201103L || __cplusplus == 201402L #if __cplusplus == 201103L || __cplusplus == 201402L
# if defined(__clang__) # if defined(__clang__) && !defined(__INTEL_COMPILER)
# define FMT_FALLTHROUGH [[clang::fallthrough]] # define FMT_FALLTHROUGH [[clang::fallthrough]]
# elif FMT_GCC_VERSION >= 700 && !defined(__PGI) && !defined(__INTEL_COMPILER) # elif FMT_GCC_VERSION >= 700 && !defined(__PGI) && !defined(__INTEL_COMPILER)
# define FMT_FALLTHROUGH [[gnu::fallthrough]] # define FMT_FALLTHROUGH [[gnu::fallthrough]]