Commit 4b2be143 authored by Ramiro Polla's avatar Ramiro Polla

Do not throw compiler error if asm code needs alignment, but we do not know

how to do it for this compiler. This removes a dependency of config.h on the
DECLARE_* macros.

Originally committed as revision 19383 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f11bfe30
...@@ -267,8 +267,6 @@ if((y)<(x)){\ ...@@ -267,8 +267,6 @@ if((y)<(x)){\
#elif defined(_MSC_VER) #elif defined(_MSC_VER)
#define DECLARE_ALIGNED(n,t,v) __declspec(align(n)) t v #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 #define DECLARE_ASM_CONST(n,t,v) __declspec(align(n)) static const t v
#elif HAVE_INLINE_ASM
#error The asm code needs alignment, but we do not know how to do it for this compiler.
#else #else
#define DECLARE_ALIGNED(n,t,v) t v #define DECLARE_ALIGNED(n,t,v) t v
#define DECLARE_ASM_CONST(n,t,v) static const t v #define DECLARE_ASM_CONST(n,t,v) static const t v
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment