Browse Source

Workaround for problems with Xcode 7 SDK headers.

tags/2021-05-28
jules 10 years ago
parent
commit
c74d3cc12a
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      modules/juce_core/system/juce_TargetPlatform.h

+ 7
- 0
modules/juce_core/system/juce_TargetPlatform.h 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


Loading…
Cancel
Save