Commit aaa0df02 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Allow using DECLARE_ALIGNED with Sun cc.

Originally committed as revision 15509 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8d2fc163
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#ifndef AVUTIL_MEM_H #ifndef AVUTIL_MEM_H
#define 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_ALIGNED(n,t,v) t v __attribute__ ((aligned (n)))
#define DECLARE_ASM_CONST(n,t,v) const t __attribute__ ((aligned (n))) v #define DECLARE_ASM_CONST(n,t,v) const t __attribute__ ((aligned (n))) v
#elif defined(__GNUC__) #elif defined(__GNUC__)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment