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__)