]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
MacOS (both Intel and arm64) and OpenBSD have no issues any more 9911/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 5 Jan 2021 13:07:22 +0000 (14:07 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 5 Jan 2021 13:07:22 +0000 (14:07 +0100)
with boost::containter::string

pdns/dnsname.hh

index ab1bb8680e016775ef9f0bd5face6e3d6366e614..10a4f0d2b1b5ee6431675cf32b571dd6e4934d33 100644 (file)
@@ -33,8 +33,7 @@
 
 #include <boost/version.hpp>
 
-// it crashes on OSX and doesn't compile on OpenBSD
-#if BOOST_VERSION >= 105300 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__)
+#if BOOST_VERSION >= 105300
 #include <boost/container/string.hpp>
 #endif
 
@@ -158,7 +157,7 @@ public:
   inline bool canonCompare(const DNSName& rhs) const;
   bool slowCanonCompare(const DNSName& rhs) const;  
 
-#if BOOST_VERSION >= 105300 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__)
+#if BOOST_VERSION >= 105300
   typedef boost::container::string string_t;
 #else
   typedef std::string string_t;