From: Bert Hubert Date: Sun, 8 Jun 2008 08:41:01 +0000 (+0000) Subject: the recursor finally works on Apple! Many thanks to long time PowerDNS contributor... X-Git-Tag: rec-3.1.7.1~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f56ef283a09ebb01b35964c3e1682667a72e8ab;p=thirdparty%2Fpdns.git the recursor finally works on Apple! Many thanks to long time PowerDNS contributor Stefan Arentz git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1185 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/dns.hh b/pdns/dns.hh index 6b0df698fa..7b8f192420 100644 --- a/pdns/dns.hh +++ b/pdns/dns.hh @@ -169,7 +169,7 @@ enum { #ifdef WIN32 #define BYTE_ORDER 1 #define LITTLE_ENDIAN 1 -#elif __FreeBSD__ +#elif __FreeBSD__ || __APPLE__ #include #elif __linux__ # include diff --git a/pdns/sysdeps-recursor/Darwin.inc b/pdns/sysdeps-recursor/Darwin.inc new file mode 100644 index 0000000000..90453af0c6 --- /dev/null +++ b/pdns/sysdeps-recursor/Darwin.inc @@ -0,0 +1 @@ +CXXFLAGS+=-D_XOPEN_SOURCE