(abs): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5375 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -69,6 +69,10 @@
|
|||||||
#define min(a,b) (((a)<(b))?(a):(b))
|
#define min(a,b) (((a)<(b))?(a):(b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef abs
|
||||||
|
#define abs(x) (((x) < 0) ? (-x) : (x))
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef TRUE
|
#ifndef TRUE
|
||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user