You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
Allow compilation with icc 10.1.
Originally committed as revision 11889 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -28,7 +28,11 @@
|
|||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define DECLARE_ALIGNED(n,t,v) t v __attribute__ ((aligned (n)))
|
#define DECLARE_ALIGNED(n,t,v) t v __attribute__ ((aligned (n)))
|
||||||
|
#ifdef __ICC
|
||||||
|
#define DECLARE_ASM_CONST(n,t,v) const t __attribute__ ((aligned (n))) v
|
||||||
|
#else
|
||||||
#define DECLARE_ASM_CONST(n,t,v) static const t v attribute_used __attribute__ ((aligned (n)))
|
#define DECLARE_ASM_CONST(n,t,v) static const t v attribute_used __attribute__ ((aligned (n)))
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define DECLARE_ALIGNED(n,t,v) __declspec(align(n)) t v
|
#define DECLARE_ALIGNED(n,t,v) __declspec(align(n)) t v
|
||||||
#define DECLARE_ASM_CONST(n,t,v) __declspec(align(n)) static const t v
|
#define DECLARE_ASM_CONST(n,t,v) __declspec(align(n)) static const t v
|
||||||
|
Reference in New Issue
Block a user