]> granicus.if.org Git - pdns/commitdiff
Update boost requirement for DNSName
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 11 Nov 2016 13:24:02 +0000 (14:24 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 11 Nov 2016 17:10:16 +0000 (18:10 +0100)
This version is known to work (CentOS 7)

(cherry picked from commit 46104a7e4ebc19419a3908141358289332709eea)

pdns/dnsname.hh

index 1815bbecf7fec481c465597933cfb1d580af2d0c..d6e6bb258f4d5e66f19435e8bd97a3be5b79655d 100644 (file)
@@ -30,7 +30,7 @@
 #include <boost/version.hpp>
 
 // 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 <boost/container/string.hpp>
 #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;