1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-17 00:44:19 +00:00

Workaround for problems with Xcode 7 SDK headers.

This commit is contained in:
jules 2015-09-17 19:08:41 +01:00
parent 5fcf662375
commit c74d3cc12a

View file

@ -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