xref: /netbsd-src/lib/libc/include/port_before.h (revision 23c8222edbfb0f0932d88a8351d3a0cf817dfb9e)
1 #include <sys/cdefs.h>
2 #define NEED_PSELECT
3 #define ISC_FORMAT_PRINTF(a,b) __attribute__((__format__(__printf__,a,b)))
4 #define ISC_SOCKLEN_T	socklen_t
5 #define DE_CONST(c,v)	v = ((c) ? \
6 	strchr((const void *)(c), *(const char *)(const void *)(c)) : NULL)
7 #ifndef lint
8 #define UNUSED(a)	(void)&a
9 #else
10 #define UNUSED(a)	a = a
11 #endif
12