diff --git a/apple/common/CFExtensions.m b/apple/common/CFExtensions.m index 0a2f850919..0684f0f337 100644 --- a/apple/common/CFExtensions.m +++ b/apple/common/CFExtensions.m @@ -26,6 +26,11 @@ #endif #endif +#ifndef __has_feature +/* Compatibility with non-Clang compilers. */ +#define __has_feature(x) 0 +#endif + NS_INLINE CF_RETURNS_RETAINED CFTypeRef CFBridgingRetainCompat(id X) {