2002-06-20 15:42:53 +04:00
|
|
|
/* $NetBSD: port_before.h,v 1.5 2002/06/20 11:43:01 itojun Exp $ */
|
1999-11-20 21:53:57 +03:00
|
|
|
|
2001-01-27 10:21:56 +03:00
|
|
|
#if 0
|
1999-11-20 21:53:57 +03:00
|
|
|
#define WANT_IRS_NIS
|
|
|
|
#define WANT_IRS_PW
|
2002-06-20 15:42:53 +04:00
|
|
|
#define HAVE_PW_CLASS
|
1999-11-20 21:53:57 +03:00
|
|
|
#define WANT_IRS_GR
|
2001-01-27 10:21:56 +03:00
|
|
|
#endif
|
1999-11-20 21:53:57 +03:00
|
|
|
#define SIG_FN void
|
2002-06-20 15:42:53 +04:00
|
|
|
#define ISC_SOCKLEN_T int
|
1999-11-20 21:53:57 +03:00
|
|
|
#if defined(HAS_PTHREADS) && defined(_REENTRANT)
|
|
|
|
#define DO_PTHREADS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define SETGRENT_VOID
|
|
|
|
#define SETPWENT_VOID
|
2002-06-20 15:42:53 +04:00
|
|
|
#define GETGROUPLIST_ARGS const char *name, gid_t basegid, gid_t *groups, \
|
|
|
|
int *ngroups
|
|
|
|
#ifdef __GNUC__
|
|
|
|
#define ISC_FORMAT_PRINTF(fmt, args) \
|
|
|
|
__attribute__((__format__(__printf__, fmt, args)))
|
|
|
|
#else
|
|
|
|
#define ISC_FORMAT_PRINTF(fmt, args)
|
|
|
|
#endif
|