1
0
Fork 0
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:
Timur Doumler 2016-04-20 14:32:18 +01:00
parent 0ef8bdb08f
commit 6dd2fbe813

View file

@ -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