diff --git a/modules/juce_core/system/juce_TargetPlatform.h b/modules/juce_core/system/juce_TargetPlatform.h index 75e363f3a5..6f900ec797 100644 --- a/modules/juce_core/system/juce_TargetPlatform.h +++ b/modules/juce_core/system/juce_TargetPlatform.h @@ -58,6 +58,13 @@ #undef Point #undef Component + #if JUCE_PROJUCER_LIVE_BUILD + // This hack is a workaround for a bug (?) in Apple's 10.11 SDK headers + // which cause some configurations of Clang to throw out an error.. + #undef CF_OPTIONS + #define CF_OPTIONS(_type, _name) _type _name; enum + #endif + #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR #define JUCE_IPHONE 1 #define JUCE_IOS 1