aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-02-20 12:22:24 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-02-20 12:22:24 +0000
commit8e339d4aa05c770c2b9c1d24dfd6484e5fcf297d (patch)
treebed3987a60b178e09a883908cbd748882c6a0b4d
parent2e5195646dc5578e1751004b0ac6e787d18637e4 (diff)
downloadffmpeg-8e339d4aa05c770c2b9c1d24dfd6484e5fcf297d.tar.gz
Gcc attribute may_alias is not supported (or silently ignored) by all supported compilers.
Originally committed as revision 21917 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavutil/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index d22b4e660b..5091e1ce11 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -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