From aaa0df02d3f3803a24a38faead836330ca074b74 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 2 Oct 2008 10:47:05 +0000 Subject: Allow using DECLARE_ALIGNED with Sun cc. Originally committed as revision 15509 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/mem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/mem.h') diff --git a/libavutil/mem.h b/libavutil/mem.h index 149889b5fa..a02c7e150e 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -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__) -- cgit v1.2.3