diff options
Diffstat (limited to '')
-rw-r--r-- | libnetdata/libnetdata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libnetdata/libnetdata.h b/libnetdata/libnetdata.h index 8d9be336b..230dc2442 100644 --- a/libnetdata/libnetdata.h +++ b/libnetdata/libnetdata.h @@ -202,6 +202,9 @@ #endif #define abs(x) (((x) < 0)? (-(x)) : (x)) +#define MIN(a,b) (((a)<(b))?(a):(b)) +#define MAX(a,b) (((a)>(b))?(a):(b)) + #define GUID_LEN 36 extern void netdata_fix_chart_id(char *s); |