xref: /freebsd/lib/libc/include/port_before.h (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
1 
2 #ifndef _PORT_BEFORE_H_
3 #define _PORT_BEFORE_H_
4 
5 #define _LIBC		1
6 #define DO_PTHREADS	1
7 #define USE_POLL	1
8 #define HAVE_MD5	1
9 
10 #define ISC_SOCKLEN_T	socklen_t
11 #define ISC_FORMAT_PRINTF(fmt, args) \
12 	__attribute__((__format__(__printf__, fmt, args)))
13 #define DE_CONST(konst, var) \
14         do { \
15                 union { const void *k; void *v; } _u; \
16                 _u.k = konst; \
17                 var = _u.v; \
18         } while (0)
19 
20 #define UNUSED(x) (void)(x)
21 
22 #endif /* _PORT_BEFORE_H_ */
23