summaryrefslogtreecommitdiff
path: root/libavutil/mem.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-03-23 11:30:44 +0000
committerMans Rullgard <mans@mansr.com>2011-03-23 12:39:58 +0000
commit820818a330b0918557bf8403d10bec95c9b6ace7 (patch)
treed6d9202786d8cbb0405213ba56db770bd57322a5 /libavutil/mem.h
parent91bcad197175bf82610ea52498854b5b0ed73de0 (diff)
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>
Diffstat (limited to 'libavutil/mem.h')
-rw-r--r--libavutil/mem.h2
1 files changed, 1 insertions, 1 deletions
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)