NetBSD/dist/bind/include/port_before.h

25 lines
586 B
C
Raw Normal View History

/* $NetBSD: port_before.h,v 1.5 2002/06/20 11:43:01 itojun Exp $ */
1999-11-20 21:53:57 +03:00
#if 0
1999-11-20 21:53:57 +03:00
#define WANT_IRS_NIS
#define WANT_IRS_PW
#define HAVE_PW_CLASS
1999-11-20 21:53:57 +03:00
#define WANT_IRS_GR
#endif
1999-11-20 21:53:57 +03:00
#define SIG_FN void
#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
#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