summaryrefslogtreecommitdiffstats
path: root/libcxx/include/cmath
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-11-06 21:55:44 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-11-06 21:55:44 +0000
commit119703f98410eb8ff0b312145e120b5d0406ebd7 (patch)
tree3a85fe138e017dc6e995119bc244561f7442de0c /libcxx/include/cmath
parent3e2740a36cf5f41a9e8306e5e911f2b9a57a15ee (diff)
downloadbcm5719-llvm-119703f98410eb8ff0b312145e120b5d0406ebd7.tar.gz
bcm5719-llvm-119703f98410eb8ff0b312145e120b5d0406ebd7.zip
Dimitry Andric: Silence some miscellaneous warnings.
llvm-svn: 167493
Diffstat (limited to 'libcxx/include/cmath')
-rw-r--r--libcxx/include/cmath2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/cmath b/libcxx/include/cmath
index a70bbf2d890..d3fbfe6d23f 100644
--- a/libcxx/include/cmath
+++ b/libcxx/include/cmath
@@ -1202,7 +1202,9 @@ fdim(_A1 __x, _A2 __y) _NOEXCEPT
// fma
inline _LIBCPP_INLINE_VISIBILITY float fmaf(float __x, float __y, float __z) _NOEXCEPT {return (float)((double)__x*__y + __z);}
+#ifndef FP_FAST_FMAF
#define FP_FAST_FMAF
+#endif
using ::fma;
OpenPOWER on IntegriCloud