libc++ declares a templated abs, which conflicts with the redefinition in math_info.cpp

[SVN r68927]
This commit is contained in:
Christopher Jefferson
2011-02-15 20:41:56 +00:00
parent eeb7991cba
commit cdfbdb2a72

View File

@ -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)
{