xref: /haiku/src/system/libnetwork/netresolv/include/namespace.h (revision f759ab27338499b0b3bf805866b0331f6d0d91a5)
1 #ifndef _DIAGASSERT
2 #define	_DIAGASSERT(x)	assert(x)
3 #endif
4 
5 #ifndef __arraycount
6 #define	__arraycount(__x)	(sizeof(__x) / sizeof(__x[0]))
7 #endif
8 
9 #ifndef CLLADDR
10 #define CLLADDR(sdl) (const void *)((sdl)->sdl_data + (sdl)->sdl_nlen)
11 #endif
12