diff internal.h @ 919:074893f9f95e libavutil

av_alias is an attribute and belongs to attributes.h also attributes.h is public and external api and can thus not depend on configure tested compiler support thus this part is removed. A different solution must be found if this breaks for some compiler which i hope it does not.
author michael
date Thu, 13 May 2010 16:30:58 +0000
parents 0795a743bda1
children 1f17993c2baa
line wrap: on
line diff
--- a/internal.h	Sun May 09 20:32:35 2010 +0000
+++ b/internal.h	Thu May 13 16:30:58 2010 +0000
@@ -54,14 +54,6 @@
 #endif
 #endif
 
-#ifndef av_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
-#endif
-#endif
-
 #ifndef INT16_MIN
 #define INT16_MIN       (-0x7fff - 1)
 #endif