Revision a5b13b14 libavutil/attributes.h

View differences:

libavutil/attributes.h
65 65
#endif
66 66

  
67 67
#ifndef av_cold
68
#if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,3)
68
#if (!defined(__INTEL_COMPILER) || __INTEL_COMPILER > 1110) && AV_GCC_VERSION_AT_LEAST(4,3)
69 69
#    define av_cold __attribute__((cold))
70 70
#else
71 71
#    define av_cold
......
73 73
#endif
74 74

  
75 75
#ifndef av_flatten
76
#if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,1)
76
#if (!defined(__INTEL_COMPILER) || __INTEL_COMPILER > 1110) && AV_GCC_VERSION_AT_LEAST(4,1)
77 77
#    define av_flatten __attribute__((flatten))
78 78
#else
79 79
#    define av_flatten
......
110 110
#endif
111 111

  
112 112
#ifndef av_alias
113
#if (!defined(__ICC) || __ICC > 1200) && AV_GCC_VERSION_AT_LEAST(3,3)
113
#if (!defined(__INTEL_COMPILER) || __INTEL_COMPILER > 1200) && AV_GCC_VERSION_AT_LEAST(3,3)
114 114
#   define av_alias __attribute__((may_alias))
115 115
#else
116 116
#   define av_alias
......
118 118
#endif
119 119

  
120 120
#ifndef av_uninit
121
#if defined(__GNUC__) && !defined(__ICC)
121
#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
122 122
#    define av_uninit(x) x=x
123 123
#else
124 124
#    define av_uninit(x) x

Also available in: Unified diff