From 7cb1fc766ba9072999df5aa6cd060163f059aa60 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Wed, 13 Feb 2008 08:36:04 +0000
Subject: [PATCH] Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.

Originally committed as revision 11919 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavutil/mem.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavutil/mem.h b/libavutil/mem.h
index 851d1408a0d..e0f17d78bb7 100644
--- a/libavutil/mem.h
+++ b/libavutil/mem.h
@@ -35,6 +35,10 @@
 #elif _MSVC
   #define DECLARE_ALIGNED(n,t,v)      __declspec(align(n)) t v
   #define DECLARE_ASM_CONST(n,t,v)    __declspec(align(n)) static const t v
+#else
+  #warning No align and asm directives, this might fail.
+  #define DECLARE_ALIGNED(n,t,v)      t v
+  #define DECLARE_ASM_CONST(n,t,v)    static const t v
 #endif
 
 /**
-- 
GitLab