X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fexim.h;h=79d1acf135c19d887e3765bf8e9182fa0020efba;hb=b10c87b38c2345d15d30da5c18c823355ac506a9;hp=54e8d002d218922cda33164080d585ad87952b43;hpb=c0635b6dfe65ee24c2fb8d165beabc608d2fd1a5;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/exim.h b/src/src/exim.h index 54e8d002d..79d1acf13 100644 --- a/src/src/exim.h +++ b/src/src/exim.h @@ -284,18 +284,6 @@ disabused of the notion. Luckily, since EX_OK is not used, it didn't matter.] */ #include -/* If arpa/nameser.h defines a maximum name server packet size, use it, -provided it is greater than 2048. Otherwise go for a default. PACKETSZ was used -for this, but it seems that NS_PACKETSZ is coming into use. */ - -#if defined(NS_PACKETSZ) && NS_PACKETSZ >= 2048 - #define MAXPACKET NS_PACKETSZ -#elif defined(PACKETSZ) && PACKETSZ >= 2048 - #define MAXPACKET PACKETSZ -#else - #define MAXPACKET 2048 -#endif - /* While IPv6 is still young the definitions of T_AAAA and T_A6 may not be included in arpa/nameser.h. Fudge them here. */ @@ -594,7 +582,7 @@ default to EDQUOT if it exists, otherwise ENOSPC. */ /* DANE w/o DNSSEC is useless */ #if defined(SUPPORT_DANE) && defined(DISABLE_DNSSEC) -# undef DISABLE_DNSSEC +# error DANE support requires DNSSEC support #endif /* Some platforms (FreeBSD, OpenBSD, Solaris) do not seem to define this */ @@ -603,5 +591,11 @@ default to EDQUOT if it exists, otherwise ENOSPC. */ # define POLLRDHUP (POLLIN | POLLHUP) #endif +/* Some platforms (Darwin) have to define a larger limit on groups membership */ + +#ifndef EXIM_GROUPLIST_SIZE +# define EXIM_GROUPLIST_SIZE NGROUPS_MAX +#endif + #endif /* End of exim.h */