# HG changeset patch # User cehoyos # Date 1222944425 0 # Node ID 5e52a169969cc8df43babbe5a81d443030917c6a # Parent 1f4b70bcd610655e8d164fb6b1bc39414791bcf4 Allow using DECLARE_ALIGNED with Sun cc. diff -r 1f4b70bcd610 -r 5e52a169969c mem.h --- a/mem.h Thu Sep 25 19:23:13 2008 +0000 +++ b/mem.h Thu Oct 02 10:47:05 2008 +0000 @@ -26,7 +26,7 @@ #ifndef AVUTIL_MEM_H #define AVUTIL_MEM_H -#ifdef __ICC +#if defined(__ICC) || defined(__SUNPRO_C) #define DECLARE_ALIGNED(n,t,v) t v __attribute__ ((aligned (n))) #define DECLARE_ASM_CONST(n,t,v) const t __attribute__ ((aligned (n))) v #elif defined(__GNUC__)