]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - lib/libc/include/port_before.h
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / lib / libc / include / port_before.h
1 /* $FreeBSD$ */
2
3 #ifndef _PORT_BEFORE_H_
4 #define _PORT_BEFORE_H_
5
6 #define _LIBC           1
7 #define DO_PTHREADS     1
8 #define USE_KQUEUE      1
9 #define HAVE_MD5        1
10
11 #define ISC_SOCKLEN_T   socklen_t
12 #define ISC_FORMAT_PRINTF(fmt, args) \
13         __attribute__((__format__(__printf__, fmt, args)))
14 #define DE_CONST(konst, var) \
15         do { \
16                 union { const void *k; void *v; } _u; \
17                 _u.k = konst; \
18                 var = _u.v; \
19         } while (0)
20
21 #define UNUSED(x) (void)(x)
22
23 #endif /* _PORT_BEFORE_H_ */