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