Mercurial > libavutil.hg
diff mem.h @ 944:90651a771549 libavutil
icc 12 finally fixed attribute(used) so gcc's DECLARE_ASM_CONST can be used.
author | cehoyos |
---|---|
date | Wed, 16 Jun 2010 10:35:56 +0000 |
parents | 0795a743bda1 |
children | e461801687c9 |
line wrap: on
line diff
--- a/mem.h Wed Jun 16 04:53:09 2010 +0000 +++ b/mem.h Wed Jun 16 10:35:56 2010 +0000 @@ -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__)