From 47d1506e956577ae503df0d00c69e214d1e216b9 Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Tue, 8 Jun 1999 02:38:21 +0000 Subject: [PATCH] add ISC_MIN() and ISC_MAX() --- lib/isc/util.h | 3 +++ 1 file changed, 3 insertions(+) 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.