12345678910111213141516171819202122 |
- $OpenBSD: patch-src_include_fst_equivalent_h,v 1.1 2017/05/07 20:00:26 espie Exp $
- Index: src/include/fst/equivalent.h
- --- src/include/fst/equivalent.h.orig
- +++ src/include/fst/equivalent.h
- @@ -23,9 +23,15 @@
-
- #include <algorithm>
- #include <deque>
- +#if defined(__clang__) || __cplusplus >= 201103L
- +#include<unordered_map>
- +using std::unordered_map;
- +using std::unordered_multimap;
- +#else
- #include <tr1/unordered_map>
- using std::tr1::unordered_map;
- using std::tr1::unordered_multimap;
- +#endif
- #include <utility>
- using std::pair; using std::make_pair;
- #include <vector>
|