1
0
Fork 0
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:
hogliux 2016-05-03 11:13:11 +01:00
parent f36205fabe
commit f2bca436d5

View file

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