From 9cf8d46ae7c4aec36b4a349b02f6d7df0a61f63a Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Mon, 21 Jul 2014 15:03:58 +0200 Subject: [PATCH] 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 ;) --- pdns/dns.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 */ -- 2.47.2