Browse Source

Tweaked the JUCE_COMPILER_SUPPORTS_LAMBDAS flag to avoid backwards-compatibility problems with OSX 10.5

tags/2021-05-28
jules 11 years ago
parent
commit
d0cbe7a642
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 #define JUCE_DELETED_FUNCTION = delete
#endif #endif
#if __has_feature (cxx_lambdas)
#if __has_feature (cxx_lambdas) && ((! JUCE_MAC) || MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_5)
#define JUCE_COMPILER_SUPPORTS_LAMBDAS 1 #define JUCE_COMPILER_SUPPORTS_LAMBDAS 1
#endif #endif


Loading…
Cancel
Save