Revision c123486e libavutil/mem.h
libavutil/mem.h | ||
---|---|---|
35 | 35 |
#elif defined(_MSC_VER) |
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 |
#elif defined(HAVE_INLINE_ASM) |
|
39 |
#error The asm code needs alignment, but we do not know how to do it for this compiler. |
|
38 | 40 |
#else |
39 |
// #warning No align and asm directives, this might fail. |
|
40 | 41 |
#define DECLARE_ALIGNED(n,t,v) t v |
41 | 42 |
#define DECLARE_ASM_CONST(n,t,v) static const t v |
42 | 43 |
#endif |
Also available in: Unified diff