From: Pieter Lexis Date: Fri, 11 Nov 2016 13:24:02 +0000 (+0100) Subject: Update boost requirement for DNSName X-Git-Tag: rec-4.0.4~17^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a73ffa0e59e0bab696aa0fe1cc95180f74cbcd8;p=pdns Update boost requirement for DNSName This version is known to work (CentOS 7) (cherry picked from commit 46104a7e4ebc19419a3908141358289332709eea) --- diff --git a/pdns/dnsname.hh b/pdns/dnsname.hh index 1815bbecf..d6e6bb258 100644 --- a/pdns/dnsname.hh +++ b/pdns/dnsname.hh @@ -30,7 +30,7 @@ #include // it crashes on OSX and doesn't compile on OpenBSD -#if BOOST_VERSION >= 104800 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__) +#if BOOST_VERSION >= 105300 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__) #include #endif @@ -133,7 +133,7 @@ public: inline bool canonCompare(const DNSName& rhs) const; bool slowCanonCompare(const DNSName& rhs) const; -#if BOOST_VERSION >= 104800 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__) +#if BOOST_VERSION >= 105300 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__) typedef boost::container::string string_t; #else typedef std::string string_t;