X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fmem.h;h=718a143c4c64e267bcf8f205d4648986b7ae6b9e;hb=084f3addda7531a22d656b769120c6453e880226;hp=f9d8884788194998897b38123735fe561edc1934;hpb=e26e6240b6700c5e8c16d0f092f1ad46805a723c;p=ffmpeg diff --git a/libavutil/mem.h b/libavutil/mem.h index f9d88847881..718a143c4c6 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -97,7 +97,7 @@ #define DECLARE_ASM_CONST(n,t,v) \ AV_PRAGMA(DATA_ALIGN(v,n)) \ static const t __attribute__((aligned(n))) v -#elif defined(__GNUC__) +#elif defined(__GNUC__) || defined(__clang__) #define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v #define DECLARE_ASM_CONST(n,t,v) static const t av_used __attribute__ ((aligned (n))) v #elif defined(_MSC_VER)