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