mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-31 03:00:05 +00:00
Better detection of some c++11 support.
This commit is contained in:
parent
39da2ea627
commit
d14267981a
1 changed files with 2 additions and 8 deletions
|
|
@ -74,17 +74,11 @@
|
|||
#define JUCE_DELETED_FUNCTION = delete
|
||||
#endif
|
||||
|
||||
#if (JUCE_MAC && defined (MAC_OS_X_VERSION_10_8) && MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_8) \
|
||||
|| (JUCE_IOS && defined (__IPHONE_7_0) && __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_7_0) \
|
||||
|| ! (JUCE_MAC || JUCE_IOS)
|
||||
#define JUCE_NOT_OSX10_8_OR_EARLIER 1
|
||||
#endif
|
||||
|
||||
#if __has_feature (cxx_lambdas) && JUCE_NOT_OSX10_8_OR_EARLIER
|
||||
#if __has_feature (cxx_lambdas) && (defined (_LIBCPP_VERSION) || ! (JUCE_MAC || JUCE_IOS))
|
||||
#define JUCE_COMPILER_SUPPORTS_LAMBDAS 1
|
||||
#endif
|
||||
|
||||
#if __has_feature (cxx_generalized_initializers) && JUCE_NOT_OSX10_8_OR_EARLIER
|
||||
#if __has_feature (cxx_generalized_initializers) && (defined (_LIBCPP_VERSION) || ! (JUCE_MAC || JUCE_IOS))
|
||||
#define JUCE_COMPILER_SUPPORTS_INITIALIZER_LISTS 1
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue