diff options
author | Mans Rullgard <mans@mansr.com> | 2011-03-23 11:30:44 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-03-23 12:39:58 +0000 |
commit | 820818a330b0918557bf8403d10bec95c9b6ace7 (patch) | |
tree | d6d9202786d8cbb0405213ba56db770bd57322a5 | |
parent | 91bcad197175bf82610ea52498854b5b0ed73de0 (diff) | |
download | ffmpeg-820818a330b0918557bf8403d10bec95c9b6ace7.tar.gz |
Remove unnecessary icc version checks
With unknown attribute warnings disabled, these checks are no
longer needed. Removing them improves readability while having
no effect on generated code.
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r-- | libavutil/attributes.h | 6 | ||||
-rw-r--r-- | libavutil/internal.h | 2 | ||||
-rw-r--r-- | libavutil/mem.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/libavutil/attributes.h b/libavutil/attributes.h index 4ee0dde01a..4abe78f3bf 100644 --- a/libavutil/attributes.h +++ b/libavutil/attributes.h @@ -65,7 +65,7 @@ #endif #ifndef av_cold -#if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,3) +#if AV_GCC_VERSION_AT_LEAST(4,3) # define av_cold __attribute__((cold)) #else # define av_cold @@ -73,7 +73,7 @@ #endif #ifndef av_flatten -#if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,1) +#if AV_GCC_VERSION_AT_LEAST(4,1) # define av_flatten __attribute__((flatten)) #else # define av_flatten @@ -110,7 +110,7 @@ #endif #ifndef av_alias -#if (!defined(__ICC) || __ICC > 1200) && AV_GCC_VERSION_AT_LEAST(3,3) +#if AV_GCC_VERSION_AT_LEAST(3,3) # define av_alias __attribute__((may_alias)) #else # define av_alias diff --git a/libavutil/internal.h b/libavutil/internal.h index ac2ad17f70..37bc6810f6 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -39,7 +39,7 @@ #include "timer.h" #ifndef attribute_align_arg -#if ARCH_X86_32 && (!defined(__ICC) || __ICC > 1200) && AV_GCC_VERSION_AT_LEAST(4,2) +#if ARCH_X86_32 && AV_GCC_VERSION_AT_LEAST(4,2) # define attribute_align_arg __attribute__((force_align_arg_pointer)) #else # define attribute_align_arg diff --git a/libavutil/mem.h b/libavutil/mem.h index da8ad892c1..f52777b071 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -56,7 +56,7 @@ #define av_malloc_attrib #endif -#if (!defined(__ICC) || __ICC > 1200) && AV_GCC_VERSION_AT_LEAST(4,3) +#if AV_GCC_VERSION_AT_LEAST(4,3) #define av_alloc_size(n) __attribute__((alloc_size(n))) #else #define av_alloc_size(n) |