From 0a8734d0907b6c8a9ffe5dbe8df293d314e9cd33 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 25 Oct 2014 07:49:27 +0200 Subject: [PATCH] (OSX 10.6) Need to define __has_feature for GCC --- apple/common/CFExtensions.m | 5 +++++ 1 file changed, 5 insertions(+) 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) {