Mercurial > libavutil.hg
changeset 574:5e52a169969c libavutil
Allow using DECLARE_ALIGNED with Sun cc.
author | cehoyos |
---|---|
date | Thu, 02 Oct 2008 10:47:05 +0000 |
parents | 1f4b70bcd610 |
children | 87b221edc925 |
files | mem.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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__)