cosmetics: prettyprint
Originally committed as revision 12213 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5b0d04d308
commit
4bfc91a07b
@ -27,18 +27,18 @@
|
|||||||
#define FFMPEG_MEM_H
|
#define FFMPEG_MEM_H
|
||||||
|
|
||||||
#ifdef __ICC
|
#ifdef __ICC
|
||||||
#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__)
|
||||||
#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) 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)))
|
||||||
#elif defined(_MSVC)
|
#elif defined(_MSVC)
|
||||||
#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
|
||||||
#else
|
#else
|
||||||
#warning No align and asm directives, this might fail.
|
#warning No align and asm directives, this might fail.
|
||||||
#define DECLARE_ALIGNED(n,t,v) t v
|
#define DECLARE_ALIGNED(n,t,v) t v
|
||||||
#define DECLARE_ASM_CONST(n,t,v) static const t v
|
#define DECLARE_ASM_CONST(n,t,v) static const t v
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user