--- graphics/embree/files/patch-common_math_math.h (nonexistent) +++ graphics/embree/files/patch-common_math_math.h (working copy) @@ -0,0 +1,11 @@ +--- common/math/math.h.orig 2015-09-17 06:11:18 UTC ++++ common/math/math.h +@@ -91,7 +91,7 @@ namespace embree + __forceinline float rsqrt( const float x ) { return 1.0f/sqrtf(x); } + #endif + +-#if !defined(__WIN32__) ++#if !defined(__WIN32__) && (!defined(_LIBCPP_VERSION) || _LIBCPP_VERSION < 3800) + __forceinline float abs ( const float x ) { return ::fabsf(x); } + __forceinline float acos ( const float x ) { return ::acosf (x); } + __forceinline float asin ( const float x ) { return ::asinf (x); }