vvfabf on OS/X < 10.7

This commit is contained in:
Chris Cannam
2012-10-14 16:43:28 +01:00
parent 405c8c47e9
commit 4b2e617f48

View File

@@ -674,7 +674,11 @@ inline void v_abs(float *const R__ dst,
const int count) const int count)
{ {
float tmp[count]; float tmp[count];
#if (MACOSX_DEPLOYMENT_TARGET <= 1070 && MAC_OS_X_VERSION_MIN_REQUIRED <= 1070)
vvfabf(tmp, dst, &count);
#else
vvfabsf(tmp, dst, &count); vvfabsf(tmp, dst, &count);
#endif
v_copy(dst, tmp, count); v_copy(dst, tmp, count);
} }
#endif #endif