From 0b9899fd53a38c342960db52e58a42205bc1b471 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 21 Jul 2005 15:31:25 +0000 Subject: [PATCH] *** empty log message *** --- ase/macros.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ase/macros.h b/ase/macros.h index 3e818612..e685d9c4 100644 --- a/ase/macros.h +++ b/ase/macros.h @@ -1,5 +1,5 @@ /* - * $Id: macros.h,v 1.27 2005-07-19 12:08:04 bacon Exp $ + * $Id: macros.h,v 1.28 2005-07-21 15:31:25 bacon Exp $ */ #ifndef _XP_MACROS_H_ @@ -34,6 +34,7 @@ #define XP_NUM_IS_POWOF2(x) (((x) & ((x) - 1)) == 0) #define XP_SWAP(x,y) ((x) ^= (y) ^= (x) ^= (y)) +#define XP_ABS(x) ((x) < 0? -(x): (x)) #define XP_LOOP_CONTINUE(id) goto __loop_ ## id ## _begin__; #define XP_LOOP_BREAK(id) goto __loop_ ## id ## _end__;