Revision d326dd97

View differences:

libavutil/mem.h
42 42
    #define DECLARE_ASM_CONST(n,t,v)    static const t v
43 43
#endif
44 44

  
45
#if defined(__GNUC__) && (__GNU__ > 3 || __GNU__ == 3 && __GNU_MINOR__ > 0)
45
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
46 46
    #define av_malloc_attrib __attribute__((__malloc__))
47 47
#else
48 48
    #define av_malloc_attrib
49 49
#endif
50 50

  
51
#if defined(__GNUC__) && (__GNU__ > 4 || __GNU__ == 4 && __GNU_MINOR__ > 1)
51
#if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 1)
52 52
    #define av_alloc_size(n) __attribute__((alloc_size(n)))
53 53
#else
54 54
    #define av_alloc_size(n)

Also available in: Unified diff