xref: /haiku/src/system/libnetwork/netresolv/include/namespace.h (revision 6a2d53e7237764eab0c7b6d121772f26d636fb60)
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