forked from boostorg/static_string
Detect clang-cl
This commit is contained in:
1 parent
bb0c5c283e
commit
1b42fed4d7
1 file changed
+3
-2
@@ -172,8 +172,9 @@ defined(__clang__) && \
|
|||||||
// that cannot use the library comparison function
|
// that cannot use the library comparison function
|
||||||
// objects at all in constant expresssions. In these
|
// objects at all in constant expresssions. In these
|
||||||
// cases, we use whatever will make more constexpr work.
|
// cases, we use whatever will make more constexpr work.
|
||||||
#if defined(__clang__) && defined(__GLIBCXX__) && \
|
#if defined(__clang__) && \
|
||||||
(__GLIBCXX__ >= 20180726L && __GLIBCXX__ <= 20190812L)
|
((defined(__GLIBCXX__) &&__GLIBCXX__ >= 20180726L \
|
||||||
|
&& __GLIBCXX__ <= 20190812L) || defined(_MSC_VER))
|
||||||
#define BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS
|
#define BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user