Browse Source

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

tags/2021-05-28
jules 10 years ago
parent
commit
b0cbaea4f5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/system/juce_PlatformDefs.h

+ 1
- 1
modules/juce_core/system/juce_PlatformDefs.h 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


Loading…
Cancel
Save