@@ -303,6 +303,10 @@ FileBrowserHandle fileBrowserCreate(const bool isEmbed, | |||||
ScopedPointer<FileBrowserData> handle(new FileBrowserData(options.saving)); | ScopedPointer<FileBrowserData> handle(new FileBrowserData(options.saving)); | ||||
#ifdef DISTRHO_OS_MAC | #ifdef DISTRHO_OS_MAC | ||||
# if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_8 | |||||
// unsupported | |||||
return nullptr; | |||||
# else | |||||
NSSavePanel* const nsBasePanel = handle->nsBasePanel; | NSSavePanel* const nsBasePanel = handle->nsBasePanel; | ||||
DISTRHO_SAFE_ASSERT_RETURN(nsBasePanel != nullptr, nullptr); | DISTRHO_SAFE_ASSERT_RETURN(nsBasePanel != nullptr, nullptr); | ||||
@@ -349,6 +353,7 @@ FileBrowserHandle fileBrowserCreate(const bool isEmbed, | |||||
} | } | ||||
}]; | }]; | ||||
}); | }); | ||||
# endif | |||||
#endif | #endif | ||||
#ifdef DISTRHO_OS_WINDOWS | #ifdef DISTRHO_OS_WINDOWS | ||||
@@ -90,9 +90,9 @@ | |||||
#endif | #endif | ||||
/* Define DISTRHO_DEPRECATED_BY */ | /* Define DISTRHO_DEPRECATED_BY */ | ||||
#if defined(__clang__) && defined(DISTRHO_PROPER_CPP11_SUPPORT) | |||||
#if defined(__clang__) && (__clang_major__ * 100 + __clang_minor__) >= 502 | |||||
# define DISTRHO_DEPRECATED_BY(other) __attribute__((deprecated("", other))) | # define DISTRHO_DEPRECATED_BY(other) __attribute__((deprecated("", other))) | ||||
#elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 480 | |||||
#elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 | |||||
# define DISTRHO_DEPRECATED_BY(other) __attribute__((deprecated("Use " other))) | # define DISTRHO_DEPRECATED_BY(other) __attribute__((deprecated("Use " other))) | ||||
#else | #else | ||||
# define DISTRHO_DEPRECATED_BY(other) DISTRHO_DEPRECATED | # define DISTRHO_DEPRECATED_BY(other) DISTRHO_DEPRECATED | ||||