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

Removed a few more carbon workaround macros

This commit is contained in:
jules 2016-01-29 18:08:11 +00:00
parent 4e6ea1dbdf
commit 66793fc09b
3 changed files with 0 additions and 12 deletions

View file

@ -36,14 +36,10 @@
//==============================================================================
#if JUCE_MAC
#define Point CarbonDummyPointName
#define Component CarbonDummyCompName
#if JUCE_QUICKTIME
#import <QTKit/QTKit.h>
#endif
#include <AudioToolbox/AudioToolbox.h>
#undef Component
#undef Point
#elif JUCE_IOS
#import <AudioToolbox/AudioToolbox.h>

View file

@ -40,11 +40,7 @@
#if JUCE_SUPPORT_CARBON \
&& ((JUCE_PLUGINHOST_VST || JUCE_PLUGINHOST_AU) \
|| ! (defined (MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6))
#define Point CarbonDummyPointName // (workaround to avoid definition of "Point" by old Carbon headers)
#define Component CarbonDummyCompName
#include <Carbon/Carbon.h>
#undef Point
#undef Component
#endif
#endif

View file

@ -37,11 +37,7 @@
#if JUCE_MAC
#if JUCE_QUICKTIME
#define Point CarbonDummyPointName
#define Component CarbonDummyCompName
#import <QTKit/QTKit.h>
#undef Point
#undef Component
#endif
//==============================================================================