Commit 9c63742
committed
avutil/attributes: enable av_flatten when available
This enables av_flatten on Clang in particular.
It was disabled because at the time this attribute was not supported.
It was implemented in Clang/LLVM 3.5 [1].
Use `__has_attribute` to check for availability. This has been added in
Clang 2.9 [2].
This reverts change 5858a67.
[1] llvm/llvm-project@41af7c2
[2] llvm/llvm-project@274a70e
Signed-off-by: Kacper Michajłow <[email protected]>1 parent 878fb73 commit 9c63742
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments