From cdfbdb2a72819bbc876062c2887c67df858ad732 Mon Sep 17 00:00:00 2001 From: Christopher Jefferson Date: Tue, 15 Feb 2011 20:41:56 +0000 Subject: [PATCH] libc++ declares a templated abs, which conflicts with the redefinition in math_info.cpp [SVN r68927] --- test/math_info.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/math_info.cpp b/test/math_info.cpp index e06c7454..47fe9ffe 100644 --- a/test/math_info.cpp +++ b/test/math_info.cpp @@ -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 char abs(T) {