History

avformat/internal: add missing __clang__ check

Clang x86_64-pc-windows-msvc doesn't define __GNUC__.

Kacper Michajłow committed 1 year ago

Commit 26807591 parent 43dc4431 file · +1 −1Browse files

Unified · Split

libavformat/internal.h+1−1
@@ -354,7 +354,7 @@ static av_always_inline const FFStream *cffstream(const AVStream *st) · 353 unmodified lines
354354 return (const FFStream*)st;
355355 }
356356
357−#ifdef __GNUC__
357+#if defined (__GNUC__) || defined (__clang__)
358358 #define dynarray_add(tab, nb_ptr, elem)\
359359 do {\
360360 __typeof__(tab) _tab = (tab);\

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t