4.1155-freebsd-126-freebsd-12freebsd-9.3
Last change
on this file since 9a3fa15 was
9a3fa15,
checked in by Sebastian Huber <sebastian.huber@…>, on 10/21/13 at 11:47:22
|
Use unmodified FreeBSD versions for port_*.h
|
-
Property mode set to
100644
|
File size:
493 bytes
|
Line | |
---|
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 | |
---|
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) (x) = (x) |
---|
21 | |
---|
22 | #endif /* _PORT_BEFORE_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.