forked from boostorg/config
libc++ declares a templated abs, which conflicts with the redefinition in math_info.cpp
[SVN r68927]
This commit is contained in:
@ -181,7 +181,8 @@ bool is_same_type(T, U)
|
||||
// the floating point types or not:
|
||||
//
|
||||
namespace std{
|
||||
#if !BOOST_WORKAROUND(BOOST_MSVC, == 1300)
|
||||
#if !BOOST_WORKAROUND(BOOST_MSVC, == 1300) && \
|
||||
!defined(_LIBCPP_VERSION)
|
||||
template <class T>
|
||||
char abs(T)
|
||||
{
|
||||
|
Reference in New Issue
Block a user