|
Added
Link Here
|
| 1 |
--- dnsname.hh.orig 2016-09-06 12:50:29 UTC |
| 2 |
+++ dnsname.hh |
| 3 |
@@ -30,7 +30,7 @@ |
| 4 |
#include <boost/version.hpp> |
| 5 |
|
| 6 |
// it crashes on OSX and doesn't compile on OpenBSD |
| 7 |
-#if BOOST_VERSION >= 104800 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__) |
| 8 |
+#if BOOST_VERSION >= 104800 && ! defined(_LIBCPP_VERSION) && ! defined(__OpenBSD__) |
| 9 |
#include <boost/container/string.hpp> |
| 10 |
#endif |
| 11 |
|
| 12 |
@@ -133,7 +133,7 @@ public: |
| 13 |
inline bool canonCompare(const DNSName& rhs) const; |
| 14 |
bool slowCanonCompare(const DNSName& rhs) const; |
| 15 |
|
| 16 |
-#if BOOST_VERSION >= 104800 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__) |
| 17 |
+#if BOOST_VERSION >= 104800 && ! defined(_LIBCPP_VERSION) && ! defined(__OpenBSD__) |
| 18 |
typedef boost::container::string string_t; |
| 19 |
#else |
| 20 |
typedef std::string string_t; |