summaryrefslogtreecommitdiff
path: root/libavutil/internal.h
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-07-09 02:18:29 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-07-09 02:18:29 +0000
commit4b2be143cd5ab216c6a7ebd8715b732169077e5d (patch)
tree06d0e906d5436b142d9efff69de7cc9b65479bd0 /libavutil/internal.h
parentf11bfe30659372dd8109fdb7e69ddab9d1243fa5 (diff)
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
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r--libavutil/internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 0ca2b4d983..ccdc545e0e 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -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