Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/lib/libc/include/port_before.h
103917 views
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
9
#define ISC_SOCKLEN_T socklen_t
10
#define ISC_FORMAT_PRINTF(fmt, args) \
11
__attribute__((__format__(__printf__, fmt, args)))
12
#define DE_CONST(konst, var) \
13
do { \
14
union { const void *k; void *v; } _u; \
15
_u.k = konst; \
16
var = _u.v; \
17
} while (0)
18
19
#define UNUSED(x) (void)(x)
20
21
#endif /* _PORT_BEFORE_H_ */
22
23