Line 0
Link Here
|
|
|
1 |
--- common/math/math.h.orig 2015-09-17 06:11:18 UTC |
2 |
+++ common/math/math.h |
3 |
@@ -91,7 +91,7 @@ namespace embree |
4 |
__forceinline float rsqrt( const float x ) { return 1.0f/sqrtf(x); } |
5 |
#endif |
6 |
|
7 |
-#if !defined(__WIN32__) |
8 |
+#if !defined(__WIN32__) && (!defined(_LIBCPP_VERSION) || _LIBCPP_VERSION < 3800) |
9 |
__forceinline float abs ( const float x ) { return ::fabsf(x); } |
10 |
__forceinline float acos ( const float x ) { return ::acosf (x); } |
11 |
__forceinline float asin ( const float x ) { return ::asinf (x); } |