Skip to content

Commit 5858a67

Browse files
committed
attributes: disable flatten on llvm/clang
1 parent 3a14b16 commit 5858a67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libavutil/attributes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
# define av_cold
6767
#endif
6868

69-
#if AV_GCC_VERSION_AT_LEAST(4,1)
69+
#if AV_GCC_VERSION_AT_LEAST(4,1) && !defined(__llvm__)
7070
# define av_flatten __attribute__((flatten))
7171
#else
7272
# define av_flatten

0 commit comments

Comments
 (0)