1 | $OpenBSD$ |
---|
2 | |
---|
3 | Disable QTWTF::swap to prevent conflict with std::swap in gcc 6. |
---|
4 | |
---|
5 | Index: src/3rdparty/javascriptcore/JavaScriptCore/wtf/HashTable.h |
---|
6 | --- src/3rdparty/javascriptcore/JavaScriptCore/wtf/HashTable.h.orig |
---|
7 | +++ src/3rdparty/javascriptcore/JavaScriptCore/wtf/HashTable.h |
---|
8 | @@ -257,7 +257,7 @@ namespace WTF { |
---|
9 | |
---|
10 | using std::swap; |
---|
11 | |
---|
12 | -#if !COMPILER(MSVC) && !OS(QNX) && !defined(_LIBCPP_VERSION) |
---|
13 | +#if 0 && !COMPILER(MSVC) && !OS(QNX) && !defined(_LIBCPP_VERSION) |
---|
14 | // The Dinkumware C++ library (used by MSVC and QNX) and clang's libc++ have a swap for pairs defined. |
---|
15 | |
---|
16 | // swap pairs by component, in case of pair members that specialize swap |
---|