commit 0240fdabf9587975abc11c29389bcccff8dfec8a
parent e46ae51af7029d63ff81e45cf5aa4d94204648d9
Author: falkTX <falktx@falktx.com>
Date: Sun, 8 Aug 2021 15:57:40 +0100
One more macos-old fix
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/distrho/src/DistrhoDefines.h b/distrho/src/DistrhoDefines.h
@@ -81,7 +81,7 @@
#endif
/* Define DISTRHO_DEPRECATED_BY */
-#if defined(__clang__)
+#if defined(__clang__) && defined(DISTRHO_PROPER_CPP11_SUPPORT)
# define DISTRHO_DEPRECATED_BY(other) __attribute__((deprecated("", other)))
#elif defined(__GNUC__)
# define DISTRHO_DEPRECATED_BY(other) __attribute__((deprecated("Use " other)))