diff --git a/lib/isc/util.h b/lib/isc/util.h index 82cc2f6fe5..c89a5014c9 100644 --- a/lib/isc/util.h +++ b/lib/isc/util.h @@ -24,6 +24,9 @@ *** General Macros. ***/ +#define ISC_MAX(a, b) ((a) > (b) ? (a) : (b)) +#define ISC_MIN(a, b) ((a) < (b) ? (a) : (b)) + /* * We use macros instead of calling the routines directly because * the capital letters make the locking stand out.