diff --git a/src/halfvec.h b/src/halfvec.h index a15f077..fd9470d 100644 --- a/src/halfvec.h +++ b/src/halfvec.h @@ -24,7 +24,7 @@ #endif /* Needed for cross-compiling / universal binaries on Mac */ -#if defined(USE_DISPATCH) && (defined(HAVE__GET_CPUID) || defined(__APPLE_CC__)) +#if defined(USE_DISPATCH) && (defined(HAVE__GET_CPUID) || defined(__apple_build_version__)) #define USE__GET_CPUID #endif