Do not throw compiler error if asm code needs alignment, but we do not know
authorRamiro Polla <ramiro.polla@gmail.com>
Thu, 9 Jul 2009 02:18:29 +0000 (02:18 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Thu, 9 Jul 2009 02:18:29 +0000 (02:18 +0000)
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

libavutil/internal.h

index 0ca2b4d..ccdc545 100644 (file)
@@ -267,8 +267,6 @@ if((y)<(x)){\
 #elif defined(_MSC_VER)
     #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
-#elif HAVE_INLINE_ASM
-    #error The asm code needs alignment, but we do not know how to do it for this compiler.
 #else
     #define DECLARE_ALIGNED(n,t,v)      t v
     #define DECLARE_ASM_CONST(n,t,v)    static const t v