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
release/0.6
Carl Eugen Hoyos 15 years ago
parent 2e5195646d
commit 8e339d4aa0
  1. 2
      libavutil/internal.h

@ -56,7 +56,7 @@
#endif #endif
#ifndef av_alias #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)) # define av_alias __attribute__((may_alias))
#else #else
# define av_alias # define av_alias

Loading…
Cancel
Save