Revision 0374152f libavutil/mem.h

View differences:

libavutil/mem.h
41 41
        static const t __attribute__((aligned(n))) v
42 42
#elif defined(__GNUC__)
43 43
    #define DECLARE_ALIGNED(n,t,v)      t __attribute__ ((aligned (n))) v
44
    #define DECLARE_ASM_CONST(n,t,v)    static const t attribute_used __attribute__ ((aligned (n))) v
44
    #define DECLARE_ASM_CONST(n,t,v)    static const t av_used __attribute__ ((aligned (n))) v
45 45
#elif defined(_MSC_VER)
46 46
    #define DECLARE_ALIGNED(n,t,v)      __declspec(align(n)) t v
47 47
    #define DECLARE_ASM_CONST(n,t,v)    __declspec(align(n)) static const t v

Also available in: Unified diff