diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-06-16 10:35:56 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-06-16 10:35:56 +0000 |
commit | ed00fe49d7aec2d7899b8f24ef0f5a7d590293f8 (patch) | |
tree | 46d80d713b1e780b2c6d30b0445b62ec395f2e75 /libavutil/mem.h | |
parent | 33586ee770edaa036c27508b5ec5c8c263973941 (diff) | |
download | ffmpeg-ed00fe49d7aec2d7899b8f24ef0f5a7d590293f8.tar.gz |
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
Diffstat (limited to 'libavutil/mem.h')
-rw-r--r-- | libavutil/mem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/mem.h b/libavutil/mem.h index 1488792706..561def5d8e 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -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__) |