From: Ruben Kerkhof Date: Mon, 21 Jul 2014 13:03:58 +0000 (+0200) Subject: OSX doesn't know which side of the egg it should crack. X-Git-Tag: auth-3.4.0-rc1~46^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cf8d46ae7c4aec36b4a349b02f6d7df0a61f63a;p=thirdparty%2Fpdns.git OSX doesn't know which side of the egg it should crack. My guess is that this is because can provide universal binaries. We'll need to look into that later, but for now, at least choose one of them and not both ;) --- diff --git a/pdns/dns.hh b/pdns/dns.hh index 0b60ee0763..cbed520250 100644 --- a/pdns/dns.hh +++ b/pdns/dns.hh @@ -257,8 +257,7 @@ struct dnsheader { unsigned ad: 1; /* authentic data from named */ unsigned cd: 1; /* checking disabled by resolver */ unsigned rcode :4; /* response code */ -#endif -#if BYTE_ORDER == LITTLE_ENDIAN || BYTE_ORDER == PDP_ENDIAN +#elif BYTE_ORDER == LITTLE_ENDIAN || BYTE_ORDER == PDP_ENDIAN /* fields in third byte */ unsigned rd :1; /* recursion desired */ unsigned tc :1; /* truncated message */