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

Allow user to force-include Carbon even on 64-bit if JUCE_SUPPORT_CARBON is set

This is needed to include non-Carbon APIs such as TextInputServices for which there are no Cocoa replacements and are known to not be deprecated anytime soon.
This commit is contained in:
hogliux 2015-07-28 12:02:23 +01:00
parent 40848adac6
commit e703654f75

View file

@ -49,7 +49,7 @@
#import <WebKit/WebKit.h>
#import <IOKit/pwr_mgt/IOPMLib.h>
#if JUCE_SUPPORT_CARBON && ! (defined (MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6)
#if JUCE_SUPPORT_CARBON
#define Point CarbonDummyPointName
#define Component CarbonDummyCompName
#import <Carbon/Carbon.h> // still needed for SetSystemUIMode()