summaryrefslogtreecommitdiff
path: root/libavutil/attributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/attributes.h')
-rw-r--r--libavutil/attributes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/attributes.h b/libavutil/attributes.h
index 9f476c9ae3..d7f2bb5c6f 100644
--- a/libavutil/attributes.h
+++ b/libavutil/attributes.h
@@ -66,7 +66,7 @@
# define av_cold
#endif
-#if AV_GCC_VERSION_AT_LEAST(4,1)
+#if AV_GCC_VERSION_AT_LEAST(4,1) && !defined(__llvm__)
# define av_flatten __attribute__((flatten))
#else
# define av_flatten