diff options
author | Thomas Köppe <tkoeppe-at-google.com@ffmpeg.org> | 2017-11-14 18:26:49 +0000 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-12-02 19:14:09 +0100 |
commit | 53c492640c6b4690715793372454194379093d21 (patch) | |
tree | 84719c563debeadc0f2a58b990413932c58c67e9 /libavutil/mem.h | |
parent | be6d1f9632e24f1b74d83ad8896ee9d0da72854c (diff) | |
download | ffmpeg-53c492640c6b4690715793372454194379093d21.tar.gz |
avutil/mem: Add DECLARE_ASM_ALIGNED macro for DJGPP architecture.
The macro was added in 43171a2a738f5114768d34a7278e56e5fde714bc, but I forgot to add it to the DJGPP architecture in that change.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/mem.h')
-rw-r--r-- | libavutil/mem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/mem.h b/libavutil/mem.h index 9e344bd2c3..7e0b12a8a7 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -106,6 +106,7 @@ #define DECLARE_ASM_CONST(n,t,v) const t __attribute__ ((aligned (n))) v #elif defined(__DJGPP__) #define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (FFMIN(n, 16)))) v + #define DECLARE_ASM_ALIGNED(n,t,v) t av_used __attribute__ ((aligned (FFMIN(n, 16)))) v #define DECLARE_ASM_CONST(n,t,v) static const t av_used __attribute__ ((aligned (FFMIN(n, 16)))) v #elif defined(__GNUC__) || defined(__clang__) #define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v |