Get libc++ building on Sun Solaris. Patch from C Bergstrom.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@226947 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2015-01-23 22:22:36 +00:00
parent 447c76d9ee
commit f51d676a0e
5 changed files with 21 additions and 297 deletions

View File

@@ -654,7 +654,7 @@ using ::double_t;
// abs
#if !defined(_AIX)
#if !defined(_AIX) && !defined(__sun__)
inline _LIBCPP_INLINE_VISIBILITY
float
abs(float __lcpp_x) _NOEXCEPT {return fabsf(__lcpp_x);}