diff options
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -27,6 +27,9 @@ #include "types.h" +#ifndef ABS +#define ABS(a) ((a) < 0 ? -(a) : (a)) +#endif #ifndef MIN #define MIN(a,b) ((a) < (b) ? (a) : (b)) #endif |