Revision af4c0bcb

View differences:

libavutil/common.h
76 76
#endif
77 77

  
78 78
#ifndef av_cold
79
#if AV_GCC_VERSION_AT_LEAST(4,3)
79
#if (!defined(__ICC) || __ICC > 1100) && AV_GCC_VERSION_AT_LEAST(4,3)
80 80
#    define av_cold __attribute__((cold))
81 81
#else
82 82
#    define av_cold
libavutil/internal.h
36 36
#include "common.h"
37 37

  
38 38
#ifndef attribute_align_arg
39
#if AV_GCC_VERSION_AT_LEAST(4,2)
39
#if (!defined(__ICC) || __ICC > 1100) && AV_GCC_VERSION_AT_LEAST(4,2)
40 40
#    define attribute_align_arg __attribute__((force_align_arg_pointer))
41 41
#else
42 42
#    define attribute_align_arg
libavutil/mem.h
50 50
    #define av_malloc_attrib
51 51
#endif
52 52

  
53
#if AV_GCC_VERSION_AT_LEAST(4,3)
53
#if (!defined(__ICC) || __ICC > 1100) && AV_GCC_VERSION_AT_LEAST(4,3)
54 54
    #define av_alloc_size(n) __attribute__((alloc_size(n)))
55 55
#else
56 56
    #define av_alloc_size(n)

Also available in: Unified diff