2006-03-21 15:37:16 +00:00
|
|
|
/* $FreeBSD$ */
|
|
|
|
|
|
|
|
#ifndef _PORT_BEFORE_H_
|
|
|
|
#define _PORT_BEFORE_H_
|
|
|
|
|
|
|
|
#define _LIBC 1
|
|
|
|
#define DO_PTHREADS 1
|
2014-01-14 22:05:33 +00:00
|
|
|
#define USE_POLL 1
|
2014-08-12 12:36:06 +00:00
|
|
|
#define HAVE_MD5 1
|
2006-03-21 15:37:16 +00:00
|
|
|
|
|
|
|
#define ISC_SOCKLEN_T socklen_t
|
|
|
|
#define ISC_FORMAT_PRINTF(fmt, args) \
|
|
|
|
__attribute__((__format__(__printf__, fmt, args)))
|
|
|
|
#define DE_CONST(konst, var) \
|
|
|
|
do { \
|
|
|
|
union { const void *k; void *v; } _u; \
|
|
|
|
_u.k = konst; \
|
|
|
|
var = _u.v; \
|
|
|
|
} while (0)
|
|
|
|
|
2012-06-06 21:16:26 +00:00
|
|
|
#define UNUSED(x) (void)(x)
|
2006-03-21 15:37:16 +00:00
|
|
|
|
|
|
|
#endif /* _PORT_BEFORE_H_ */
|