amd64: declare initializecpu outside of SMP
[dragonfly.git] / lib / libc / include / port_before.h
blob9bd12899d3a8eef3dc444a6a0b7c319f141d028b
1 /* $FreeBSD: src/lib/libc/include/port_before.h,v 1.1 2006/03/21 15:37:15 ume Exp $ */
3 #ifndef _PORT_BEFORE_H_
4 #define _PORT_BEFORE_H_
6 #define _LIBC 1
7 #define DO_PTHREADS 1
8 #define USE_KQUEUE 1
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)
20 #define UNUSED(x) (x) = (x)
22 #endif /* _PORT_BEFORE_H_ */