mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-16 05:21:16 +02:00
21 lines
768 B
C++
21 lines
768 B
C++
--- dnsname.hh.orig 2017-01-17 03:18:41 UTC
|
|
+++ dnsname.hh
|
|
@@ -30,7 +30,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 && ! defined(_LIBCPP_VERSION) && ! 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 >= 105300 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__)
|
|
+#if BOOST_VERSION >= 105300 && ! defined(_LIBCPP_VERSION) && ! defined(__OpenBSD__)
|
|
typedef boost::container::string string_t;
|
|
#else
|
|
typedef std::string string_t;
|