From 051309666175d802de2fc3fc62cc251a08963223 Mon Sep 17 00:00:00 2001 From: Chris Cannam Date: Mon, 14 Sep 2020 12:04:08 +0100 Subject: [PATCH] Fix build failure for macOS 10.6 --- src/system/VectorOps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/VectorOps.h b/src/system/VectorOps.h index 405b176..e9b7c53 100644 --- a/src/system/VectorOps.h +++ b/src/system/VectorOps.h @@ -677,7 +677,7 @@ inline void v_abs(float *const R__ dst, const int 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); #else vvfabsf(tmp, dst, &count);