comparison internal.h @ 998:bbe201fb5a98 libavutil

Use attribute force_align_arg_pointer only on x86_32.
author cehoyos
date Sat, 17 Jul 2010 16:35:01 +0000
parents bb7159d1f769
children
comparison
equal deleted inserted replaced
997:336ef31f5616 998:bbe201fb5a98
37 #include "config.h" 37 #include "config.h"
38 #include "attributes.h" 38 #include "attributes.h"
39 #include "timer.h" 39 #include "timer.h"
40 40
41 #ifndef attribute_align_arg 41 #ifndef attribute_align_arg
42 #if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,2) 42 #if ARCH_X86_32 && (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,2)
43 # define attribute_align_arg __attribute__((force_align_arg_pointer)) 43 # define attribute_align_arg __attribute__((force_align_arg_pointer))
44 #else 44 #else
45 # define attribute_align_arg 45 # define attribute_align_arg
46 #endif 46 #endif
47 #endif 47 #endif