1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Updated lambda compatibility on OSX to only be enabled on 10.9 and above (sigh..)

This commit is contained in:
jules 2014-10-08 20:16:57 +01:00
parent bbd2262945
commit b0cbaea4f5

View file

@ -360,7 +360,7 @@ namespace juce
#define JUCE_DELETED_FUNCTION = delete
#endif
#if __has_feature (cxx_lambdas) && ((! JUCE_MAC) || MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_5)
#if __has_feature (cxx_lambdas) && ((! JUCE_MAC) || (defined (MAC_OS_X_VERSION_10_8) && MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_8))
#define JUCE_COMPILER_SUPPORTS_LAMBDAS 1
#endif