Clang x86_64-pc-windows-msvc doesn't define __GNUC__.
Unified · Split
| @@ -354,7 +354,7 @@ static av_always_inline const FFStream *cffstream(const AVStream *st) · 353 unmodified lines | ||
| 354 | 354 | return (const FFStream*)st; |
| 355 | 355 | } |
| 356 | 356 | |
| 357 | −#ifdef __GNUC__ | |
| 357 | +#if defined (__GNUC__) || defined (__clang__) | |
| 358 | 358 | #define dynarray_add(tab, nb_ptr, elem)\ |
| 359 | 359 | do {\ |
| 360 | 360 | __typeof__(tab) _tab = (tab);\ |