changeset 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 da95a329a6b5
children 4059de4c9f90
files mem.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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__)