forked from boostorg/config
We don't need to check for Apple if we've already tested that this is in MSVC emulation mode.
This commit is contained in:
@ -12,11 +12,7 @@
|
|||||||
|
|
||||||
// Detecting `-fms-extension` compiler flag assuming that _MSC_VER defined when that flag is used.
|
// Detecting `-fms-extension` compiler flag assuming that _MSC_VER defined when that flag is used.
|
||||||
#if defined (_MSC_VER) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 4))
|
#if defined (_MSC_VER) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 4))
|
||||||
// Ignoring the checks on APPLE platform because someone made __clang_major__ equal to
|
# define BOOST_HAS_PRAGMA_DETECT_MISSMATCH
|
||||||
// LLVM version rather than compiler version.
|
|
||||||
# ifndef __APPLE__
|
|
||||||
# define BOOST_HAS_PRAGMA_DETECT_MISSMATCH
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// When compiling with clang before __has_extension was defined,
|
// When compiling with clang before __has_extension was defined,
|
||||||
|
Reference in New Issue
Block a user