[FFmpeg-cvslog] r23624 - trunk/libavutil/mem.h

cehoyos subversion
Wed Jun 16 12:35:56 CEST 2010


Author: cehoyos
Date: Wed Jun 16 12:35:56 2010
New Revision: 23624

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

Modified:
   trunk/libavutil/mem.h

Modified: trunk/libavutil/mem.h
==============================================================================
--- trunk/libavutil/mem.h	Wed Jun 16 08:10:30 2010	(r23623)
+++ trunk/libavutil/mem.h	Wed Jun 16 12:35:56 2010	(r23624)
@@ -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__)



More information about the ffmpeg-cvslog mailing list