[FFmpeg-devel] avutil/mem: define DECLARE_ASM_ALIGNED for DJGPP

Submitted by James Almer on Dec. 1, 2017, 7:16 p.m.

Details

Message ID 20171201191636.1408-1-jamrial@gmail.com
State New
Headers show

Commit Message

James Almer Dec. 1, 2017, 7:16 p.m.
This was apparently missed in 43171a2a738f5114768d34a7278e56e5fde714bc

Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavutil/mem.h | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/libavutil/mem.h b/libavutil/mem.h
index 9e344bd2c3..6f72498890 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 __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