Mercurial > libavcodec.hg
diff ppc/gcc_fixes.h @ 3252:0b482ccd7f0e libavcodec
hadamard8_diff* enabled on linux/ppc
author | lu_zero |
---|---|
date | Fri, 07 Apr 2006 12:40:28 +0000 |
parents | bfabfdf9ce55 |
children | 8ea7f9aaa8fd |
line wrap: on
line diff
--- a/ppc/gcc_fixes.h Wed Apr 05 18:56:22 2006 +0000 +++ b/ppc/gcc_fixes.h Fri Apr 07 12:40:28 2006 +0000 @@ -17,8 +17,17 @@ # else # define AVV # endif +#define REG_v(a) asm ( #a ) #else + #define AVV(x...) {x} + +#if (__GNUC__ < 4) +# define REG_v(a) asm ( #a ) +#else +# define REG_v(a) +#endif + #if (__GNUC__ * 100 + __GNUC_MINOR__ < 303) /* This code was provided to me by Bartosch Pixa