summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/common.h b/libavutil/common.h
index 24e900551f..5f47572770 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -82,7 +82,7 @@
#endif
#ifndef av_flatten
-#if AV_GCC_VERSION_AT_LEAST(4,1)
+#if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,1)
# define av_flatten __attribute__((flatten))
#else
# define av_flatten