changeset 842:935e766af9a1 libavutil

Gcc attribute may_alias is not supported (or silently ignored) by all supported compilers.
author cehoyos
date Sat, 20 Feb 2010 12:22:24 +0000
parents e0f7001ef072
children 496ffb1657ea
files internal.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/internal.h	Fri Feb 19 03:20:01 2010 +0000
+++ b/internal.h	Sat Feb 20 12:22:24 2010 +0000
@@ -56,7 +56,7 @@
 #endif
 
 #ifndef av_alias
-#if HAVE_ATTRIBUTE_MAY_ALIAS
+#if HAVE_ATTRIBUTE_MAY_ALIAS && (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(3,3)
 #   define av_alias __attribute__((may_alias))
 #else
 #   define av_alias