diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-03-08 20:30:15 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-03-08 20:30:15 +0000 |
commit | c123486e44f44560725fa0c28f01afc926dcb299 (patch) | |
tree | 4252a337679d1c755548066ebc2966c7663688d0 /libavutil/mem.h | |
parent | e73e4e75f9f8e73af85717c2b2e081119af00f28 (diff) | |
download | ffmpeg-streaming-c123486e44f44560725fa0c28f01afc926dcb299.zip ffmpeg-streaming-c123486e44f44560725fa0c28f01afc926dcb299.tar.gz |
#error in case we do not know how to provide alignment.
Originally committed as revision 12382 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/mem.h')
-rw-r--r-- | libavutil/mem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/mem.h b/libavutil/mem.h index 7bf7070..f8df42c 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -35,8 +35,9 @@ #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 defined(HAVE_INLINE_ASM) + #error The asm code needs alignment, but we do not know how to do it for this compiler. #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 |