changeset 745:59c9e9a0bc0a libavutil

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.
author ramiro
date Thu, 09 Jul 2009 02:18:29 +0000
parents 059c6e697629
children 3b90ae5577ad
files internal.h
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/internal.h	Wed Jul 01 00:55:15 2009 +0000
+++ b/internal.h	Thu Jul 09 02:18:29 2009 +0000
@@ -267,8 +267,6 @@
 #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