From b0cbaea4f57fb03bd670b75125b9eeb4edd9cd71 Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 8 Oct 2014 20:16:57 +0100 Subject: [PATCH] Updated lambda compatibility on OSX to only be enabled on 10.9 and above (sigh..) --- modules/juce_core/system/juce_PlatformDefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_core/system/juce_PlatformDefs.h b/modules/juce_core/system/juce_PlatformDefs.h index a73305232e..aadf388b1d 100644 --- a/modules/juce_core/system/juce_PlatformDefs.h +++ b/modules/juce_core/system/juce_PlatformDefs.h @@ -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