mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 14:39:59 -04:00
add ISC_MIN() and ISC_MAX()
This commit is contained in:
parent
60804eec9b
commit
47d1506e95
1 changed files with 3 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue