changeset 743:56349e517f04 libavutil

Icc does not support attribute flatten, do not try to use it.
author cehoyos
date Sun, 28 Jun 2009 18:28:27 +0000
parents 1091b120412e
children 059c6e697629
files common.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Sat Jun 27 08:34:04 2009 +0000
+++ b/common.h	Sun Jun 28 18:28:27 2009 +0000
@@ -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