Revision 7ce3e4a8 libavutil/mem.h
libavutil/mem.h | ||
---|---|---|
28 | 28 |
|
29 | 29 |
#ifdef __GNUC__ |
30 | 30 |
#define DECLARE_ALIGNED(n,t,v) t v __attribute__ ((aligned (n))) |
31 |
#ifdef __ICC |
|
32 |
#define DECLARE_ASM_CONST(n,t,v) const t __attribute__ ((aligned (n))) v |
|
33 |
#else |
|
31 | 34 |
#define DECLARE_ASM_CONST(n,t,v) static const t v attribute_used __attribute__ ((aligned (n))) |
35 |
#endif |
|
32 | 36 |
#else |
33 | 37 |
#define DECLARE_ALIGNED(n,t,v) __declspec(align(n)) t v |
34 | 38 |
#define DECLARE_ASM_CONST(n,t,v) __declspec(align(n)) static const t v |
Also available in: Unified diff