mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fix AUv3 version check for iOS
This commit is contained in:
parent
f36205fabe
commit
f2bca436d5
1 changed files with 10 additions and 2 deletions
|
|
@ -31,8 +31,16 @@
|
|||
#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
|
||||
#if JUCE_MAC
|
||||
#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
|
||||
#endif
|
||||
|
||||
#if JUCE_IOS
|
||||
#if (! defined __IPHONE_OS_VERSION_MIN_REQUIRED) || (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_9_0)
|
||||
#error AUv3 needs Deployment Target iOS 9.0 or higher to compile
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef __OBJC2__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue