mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-15 00:24:19 +00:00
Fix compilation errors in AU format when compiling for older OS targets
This commit is contained in:
parent
cdeb0b5c87
commit
63ef9c1bfd
1 changed files with 2 additions and 3 deletions
|
|
@ -33,7 +33,6 @@
|
|||
#include <AudioToolbox/AudioUnitUtilities.h>
|
||||
#endif
|
||||
|
||||
#include <CoreAudioKit/AUViewController.h>
|
||||
#include <CoreMIDI/MIDIServices.h>
|
||||
|
||||
#if JUCE_SUPPORT_CARBON
|
||||
|
|
@ -1507,7 +1506,7 @@ private:
|
|||
AutoResizingNSViewComponent wrapper;
|
||||
|
||||
#if JUCE_COMPILER_SUPPORTS_VARIADIC_TEMPLATES
|
||||
typedef void (^ViewControllerCallbackBlock)(AUViewControllerBase *);
|
||||
typedef void (^ViewControllerCallbackBlock)(NSViewController *);
|
||||
bool waitingForViewCallback;
|
||||
ObjCBlock<ViewControllerCallbackBlock> viewControllerCallback;
|
||||
#endif
|
||||
|
|
@ -1607,7 +1606,7 @@ private:
|
|||
}
|
||||
|
||||
#if JUCE_COMPILER_SUPPORTS_VARIADIC_TEMPLATES
|
||||
void requestViewControllerCallback (AUViewControllerBase* controller)
|
||||
void requestViewControllerCallback (NSViewController* controller)
|
||||
{
|
||||
if (! MessageManager::getInstance()->isThisTheMessageThread())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue