diff options
Diffstat (limited to 'src/inc/def.h')
-rw-r--r-- | src/inc/def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inc/def.h b/src/inc/def.h index bd06eb9..22e1bda 100644 --- a/src/inc/def.h +++ b/src/inc/def.h @@ -10,5 +10,7 @@ typedef signed short s16; typedef signed char s8; #define UNUSED(bla) ((void)(bla)) +#define MIN(a, b) (((a) < (b)) ? (a) : (b)) +#define MAX(a, b) (((a) > (b)) ? (a) : (b)) #endif |