summaryrefslogtreecommitdiffstats
path: root/libcxx/include/cmath
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2015-01-23 22:22:36 +0000
committerEric Fiselier <eric@efcs.ca>2015-01-23 22:22:36 +0000
commitfbbfd09214a793f55fea9203760452926de1594d (patch)
tree0a08954f15146da9cc9ffb93eac1b043b7c02dcd /libcxx/include/cmath
parent28452d85c8dbefcca27ee849c748f9c03d8af01b (diff)
downloadbcm5719-llvm-fbbfd09214a793f55fea9203760452926de1594d.tar.gz
bcm5719-llvm-fbbfd09214a793f55fea9203760452926de1594d.zip
Get libc++ building on Sun Solaris. Patch from C Bergstrom.
llvm-svn: 226947
Diffstat (limited to 'libcxx/include/cmath')
-rw-r--r--libcxx/include/cmath2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/cmath b/libcxx/include/cmath
index d3aa4beeb58..c2c6301bf07 100644
--- a/libcxx/include/cmath
+++ b/libcxx/include/cmath
@@ -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);}
OpenPOWER on IntegriCloud