Revision 0f73b510 libavutil/internal.h

View differences:

libavutil/internal.h
264 264
#elif defined(__GNUC__)
265 265
    #define DECLARE_ALIGNED(n,t,v)      t v __attribute__ ((aligned (n)))
266 266
    #define DECLARE_ASM_CONST(n,t,v)    static const t v attribute_used __attribute__ ((aligned (n)))
267
#elif defined(_MSC_VER)
268
    #define DECLARE_ALIGNED(n,t,v)      __declspec(align(n)) t v
269
    #define DECLARE_ASM_CONST(n,t,v)    __declspec(align(n)) static const t v
267 270
#elif HAVE_INLINE_ASM
268 271
    #error The asm code needs alignment, but we do not know how to do it for this compiler.
269 272
#else

Also available in: Unified diff