# HG changeset patch # User diego # Date 1160607577 0 # Node ID 7d5463d9530a3d89a03c33d53e02212d6c059772 # Parent 81fb94a999a27bb93db3c9ed1960506d6b11fdc8 Rename SIGN macro to FFSIGN to avoid clashes with system headers. diff -r 81fb94a999a2 -r 7d5463d9530a common.h --- a/common.h Wed Oct 11 08:30:13 2006 +0000 +++ b/common.h Wed Oct 11 22:59:37 2006 +0000 @@ -193,7 +193,7 @@ /* assume b>0 */ #define ROUNDED_DIV(a,b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b)) #define ABS(a) ((a) >= 0 ? (a) : (-(a))) -#define SIGN(a) ((a) > 0 ? 1 : -1) +#define FFSIGN(a) ((a) > 0 ? 1 : -1) #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) #define FFMIN(a,b) ((a) > (b) ? (b) : (a))