1ab96eeabSHajimu UMEMOTO 2ab96eeabSHajimu UMEMOTO #ifndef _PORT_BEFORE_H_ 3ab96eeabSHajimu UMEMOTO #define _PORT_BEFORE_H_ 4ab96eeabSHajimu UMEMOTO 5ab96eeabSHajimu UMEMOTO #define _LIBC 1 6ab96eeabSHajimu UMEMOTO #define DO_PTHREADS 1 7e852d6bcSJilles Tjoelker #define USE_POLL 1 8*e4576472SHajimu UMEMOTO #define HAVE_MD5 1 9ab96eeabSHajimu UMEMOTO 10ab96eeabSHajimu UMEMOTO #define ISC_SOCKLEN_T socklen_t 11ab96eeabSHajimu UMEMOTO #define ISC_FORMAT_PRINTF(fmt, args) \ 12ab96eeabSHajimu UMEMOTO __attribute__((__format__(__printf__, fmt, args))) 13ab96eeabSHajimu UMEMOTO #define DE_CONST(konst, var) \ 14ab96eeabSHajimu UMEMOTO do { \ 15ab96eeabSHajimu UMEMOTO union { const void *k; void *v; } _u; \ 16ab96eeabSHajimu UMEMOTO _u.k = konst; \ 17ab96eeabSHajimu UMEMOTO var = _u.v; \ 18ab96eeabSHajimu UMEMOTO } while (0) 19ab96eeabSHajimu UMEMOTO 20f61ac9d9SDimitry Andric #define UNUSED(x) (void)(x) 21ab96eeabSHajimu UMEMOTO 22ab96eeabSHajimu UMEMOTO #endif /* _PORT_BEFORE_H_ */ 23