Use attribute force_align_arg_pointer only on x86_32.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Sat, 17 Jul 2010 16:35:01 +0000 (16:35 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Sat, 17 Jul 2010 16:35:01 +0000 (16:35 +0000)
Originally committed as revision 24290 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/internal.h

index 221c2ed..53d2b94 100644 (file)
@@ -39,7 +39,7 @@
 #include "timer.h"
 
 #ifndef attribute_align_arg
-#if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,2)
+#if ARCH_X86_32 && (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,2)
 #    define attribute_align_arg __attribute__((force_align_arg_pointer))
 #else
 #    define attribute_align_arg