From 1a73ffa0e59e0bab696aa0fe1cc95180f74cbcd8 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 11 Nov 2016 14:24:02 +0100 Subject: [PATCH] Update boost requirement for DNSName This version is known to work (CentOS 7) (cherry picked from commit 46104a7e4ebc19419a3908141358289332709eea) --- pdns/dnsname.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.40.0