diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 20:44:12 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 20:44:12 +0100 |
commit | e5081d6dad3924ac0a816878a6af5266f87bbfb7 (patch) | |
tree | 710797bc5578c1a9f0bc7e0cb5d2a51c526aebfd /lib | |
parent | 7bdb571ec4eea6689fa08f40be8b4c0133504f50 (diff) | |
download | samba-e5081d6dad3924ac0a816878a6af5266f87bbfb7.tar.gz samba-e5081d6dad3924ac0a816878a6af5266f87bbfb7.tar.bz2 samba-e5081d6dad3924ac0a816878a6af5266f87bbfb7.zip |
Move ABS() to libutil.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/util/util.h b/lib/util/util.h index 0f09747a3a..ec1cfef110 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -67,6 +67,10 @@ size_t valgrind_strlen(const char *s); #endif #endif +#ifndef ABS +#define ABS(a) ((a)>0?(a):(-(a))) +#endif + #include "../lib/util/memory.h" /** |