mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AUv3: added compiler error if compiling with deployment target < 10.8, avoiding another more confusing compiler error "undefined symbol _main" that would otherwise appear instead.
This commit is contained in:
parent
0ef8bdb08f
commit
6dd2fbe813
1 changed files with 4 additions and 0 deletions
|
|
@ -31,6 +31,10 @@
|
|||
#import <AudioToolbox/AudioToolbox.h>
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
|
||||
#if (! defined MAC_OS_X_VERSION_MIN_REQUIRED) || (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8)
|
||||
#error AUv3 needs Deployment Target OS X 10.8 or higher to compile
|
||||
#endif
|
||||
|
||||
#ifndef __OBJC2__
|
||||
#error AUv3 needs Objective-C 2 support (compile with 64-bit)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue