DECLARE_ALIGNED macro for TMS470 compiler
authorMåns Rullgård <mans@mansr.com>
Fri, 22 Jan 2010 03:25:25 +0000 (03:25 +0000)
committerMåns Rullgård <mans@mansr.com>
Fri, 22 Jan 2010 03:25:25 +0000 (03:25 +0000)
commit34e52abb626c692e19012f9c32c1681141a19cfb
tree48352053d3dcd239e869fc47e4e408c2156155cd
parentd408b77a3a1a2841ae18ecc1922b3b3465f77e5c
DECLARE_ALIGNED macro for TMS470 compiler

This compiler supports gcc-style alignment attributes for struct,
but not for global variables.  For the latter, alignment can be
specified with a pragma, which does not work for struct members or
local variables.  By using both pragma and attribute, one or the
other will always take effect.

Unfortunately, no means exists for aligning stack variables.

Originally committed as revision 21379 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/mem.h