Mercurial > libavutil.hg
diff mem.h @ 574:5e52a169969c libavutil
Allow using DECLARE_ALIGNED with Sun cc.
author | cehoyos |
---|---|
date | Thu, 02 Oct 2008 10:47:05 +0000 |
parents | bd4052d9050c |
children | e9d89a89561a |
line wrap: on
line diff
--- 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__)