Fix build failure for macOS 10.6

This commit is contained in:
Chris Cannam
2020-09-14 12:04:08 +01:00
parent 8acf2e539e
commit 0513096661

View File

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