diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2006-05-21 11:19:36 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2006-05-21 11:19:36 +0000 |
| commit | d808369aa12220bdee2c6dd87b8059221c3e8c93 (patch) | |
| tree | c1044e7b7cb8c4f2ee0140e9bd313cfdfe850d2a /lib/libc/include | |
| parent | 135a67244de8d23898a7964a089a1cf98f977ef1 (diff) | |
Notes
Diffstat (limited to 'lib/libc/include')
| -rw-r--r-- | lib/libc/include/isc/list.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/include/isc/list.h b/lib/libc/include/isc/list.h index ad574ac2b587..8a6973aa7933 100644 --- a/lib/libc/include/isc/list.h +++ b/lib/libc/include/isc/list.h @@ -15,9 +15,16 @@ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +/* $FreeBSD$ */ + #ifndef LIST_H #define LIST_H 1 +#ifdef _LIBC +#include <assert.h> +#define INSIST(cond) assert(cond) +#else #include <isc/assertions.h> +#endif #define LIST(type) struct { type *head, *tail; } #define INIT_LIST(list) \ |
