source: rtems-libbsd/freebsd/lib/libc/include/port_before.h @ f41a394

55-freebsd-126-freebsd-12freebsd-9.3
Last change on this file since f41a394 was 165dd8e, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 8, 2015 at 1:37:49 PM

Update to FreeBSD Stable/9 2015-04-08

  • Property mode set to 100644
File size: 512 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#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_ */
Note: See TracBrowser for help on using the repository browser.