1
0
Fork 0
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:
hogliux 2016-04-07 10:00:49 +01:00
parent cdeb0b5c87
commit 63ef9c1bfd

View file

@ -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())
{