]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/breakpad/fix-unordered_map.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / breakpad / fix-unordered_map.patch
1 diff --git a/src/common/unordered.h b/src/common/unordered.h
2 index c9cbd58..7743eda 100644
3 --- a/src/common/unordered.h
4 +++ b/src/common/unordered.h
5 @@ -46,7 +46,8 @@ struct unordered_map : public __gnu_cxx::hash_map<T, U, H> {};
6 template <class T, class H = __gnu_cxx::hash<T> >
7 struct unordered_set : public __gnu_cxx::hash_set<T, H> {};
8
9 -#elif defined(_LIBCPP_VERSION) // c++11
10 +#elif (__cplusplus >= 201103L) || defined(_LIBCPP_VERSION) || \
11 + (defined(_MSC_VER) && (_MSC_VER >= 1800)) // c++11
12 #include <unordered_map>
13 #include <unordered_set>
14 using std::unordered_map;