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

Måns Rullgård mans
Sun Feb 10 23:32:37 CET 2008


cehoyos <subversion at mplayerhq.hu> writes:

> Author: cehoyos
> Date: Sat Feb  9 21:47:11 2008
> New Revision: 11889
>
> Log:
> Allow compilation with icc 10.1.
>
> Modified:
>    trunk/libavutil/mem.h
>
> Modified: trunk/libavutil/mem.h
> ==============================================================================
> --- trunk/libavutil/mem.h	(original)
> +++ trunk/libavutil/mem.h	Sat Feb  9 21:47:11 2008
> @@ -28,7 +28,11 @@
>
>  #ifdef __GNUC__
>    #define DECLARE_ALIGNED(n,t,v)       t v __attribute__ ((aligned (n)))
> +#ifdef __ICC
> +  #define DECLARE_ASM_CONST(n,t,v)     const t __attribute__ ((aligned (n))) v
> +#else
>    #define DECLARE_ASM_CONST(n,t,v)     static const t v attribute_used __attribute__ ((aligned (n)))
> +#endif

Why does one of those cases use 'static' and not the other?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-cvslog mailing list