# HG changeset patch # User cehoyos # Date 1266668544 0 # Node ID 935e766af9a11d8ff8058b9a36e9d11af04ec340 # Parent e0f7001ef072e8bade2e2fcad84ac260319777d5 Gcc attribute may_alias is not supported (or silently ignored) by all supported compilers. diff -r e0f7001ef072 -r 935e766af9a1 internal.h --- 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