comparison 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
comparison
equal deleted inserted replaced
3251:ef3ba591d0cc 3252:0b482ccd7f0e
15 # ifndef __MWERKS__ 15 # ifndef __MWERKS__
16 # define AVV(x...) (x) 16 # define AVV(x...) (x)
17 # else 17 # else
18 # define AVV 18 # define AVV
19 # endif 19 # endif
20 #define REG_v(a) asm ( #a )
20 #else 21 #else
22
21 #define AVV(x...) {x} 23 #define AVV(x...) {x}
24
25 #if (__GNUC__ < 4)
26 # define REG_v(a) asm ( #a )
27 #else
28 # define REG_v(a)
29 #endif
30
22 #if (__GNUC__ * 100 + __GNUC_MINOR__ < 303) 31 #if (__GNUC__ * 100 + __GNUC_MINOR__ < 303)
23 32
24 /* This code was provided to me by Bartosch Pixa 33 /* This code was provided to me by Bartosch Pixa
25 * as a separate header file (broken_mergel.h). 34 * as a separate header file (broken_mergel.h).
26 * thanks to lu_zero for the workaround. 35 * thanks to lu_zero for the workaround.