Allow using DECLARE_ALIGNED with Sun cc.

Originally committed as revision 15509 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Carl Eugen Hoyos 2008-10-02 10:47:05 +00:00
parent 8d2fc163ce
commit aaa0df02d3
1 changed files with 1 additions and 1 deletions

View File

@ -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__)