commit | f51d676a0e80f6c67af728b28e7278f5656373ee | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Fri Jan 23 22:22:36 2015 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Fri Jan 23 22:22:36 2015 +0000 |
tree | 6a91a0c58e2703f8e279c22ecd8a68fc4ed51243 | |
parent | 447c76d9eefcbe479664e5ab6fd6b6ce3f6845df [diff] [blame] |
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
diff --git a/include/cmath b/include/cmath index d3aa4be..c2c6301 100644 --- a/include/cmath +++ b/include/cmath
@@ -654,7 +654,7 @@ // abs -#if !defined(_AIX) +#if !defined(_AIX) && !defined(__sun__) inline _LIBCPP_INLINE_VISIBILITY float abs(float __lcpp_x) _NOEXCEPT {return fabsf(__lcpp_x);}