From 02305ff38ffcc41a72fc1cb79c028b724d2d795d Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 11 Oct 2006 22:59:37 +0000 Subject: Rename SIGN macro to FFSIGN to avoid clashes with system headers. Originally committed as revision 6665 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil') diff --git a/libavutil/common.h b/libavutil/common.h index f71eaf839e..a4808ed83b 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -193,7 +193,7 @@ typedef uint64_t uint_fast64_t; /* 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)) -- cgit v1.2.3