icc 12 finally fixed attribute(used) so gcc's DECLARE_ASM_CONST can be used.

Originally committed as revision 23624 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Carl Eugen Hoyos 2010-06-16 10:35:56 +00:00
parent 33586ee770
commit ed00fe49d7

View File

@ -28,7 +28,7 @@
#include "attributes.h"
#if defined(__ICC) || defined(__SUNPRO_C)
#if defined(__ICC) && _ICC < 1200 || defined(__SUNPRO_C)
#define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v
#define DECLARE_ASM_CONST(n,t,v) const t __attribute__ ((aligned (n))) v
#elif defined(__TI_COMPILER_VERSION__)