Detect clang-cl

This commit is contained in:
Krystian Stasiowski
2020-02-03 23:50:07 -05:00
parent bb0c5c283e
commit 1b42fed4d7

View File

@ -172,8 +172,9 @@ defined(__clang__) && \
// that cannot use the library comparison function
// objects at all in constant expresssions. In these
// cases, we use whatever will make more constexpr work.
#if defined(__clang__) && defined(__GLIBCXX__) && \
(__GLIBCXX__ >= 20180726L && __GLIBCXX__ <= 20190812L)
#if defined(__clang__) && \
((defined(__GLIBCXX__) &&__GLIBCXX__ >= 20180726L \
&& __GLIBCXX__ <= 20190812L) || defined(_MSC_VER))
#define BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS
#endif