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 | return (const FFStream*)st; | 354 | return (const FFStream*)st; |
| 355 | } | 355 | } |
| 356 | 356 | ||
| 357 | #ifdef __GNUC__ | 357 | #if defined (__GNUC__) || defined (__clang__) |
| 358 | #define dynarray_add(tab, nb_ptr, elem)\ | 358 | #define dynarray_add(tab, nb_ptr, elem)\ |
| 359 | do {\ | 359 | do {\ |
| 360 | __typeof__(tab) _tab = (tab);\ | 360 | __typeof__(tab) _tab = (tab);\ |