12345678910111213141516171819202122 |
- $OpenBSD: patch-src_include_fst_label-reachable_h,v 1.1 2017/05/07 20:00:26 espie Exp $
- Index: src/include/fst/label-reachable.h
- --- src/include/fst/label-reachable.h.orig
- +++ src/include/fst/label-reachable.h
- @@ -23,9 +23,15 @@
- #ifndef FST_LIB_LABEL_REACHABLE_H__
- #define FST_LIB_LABEL_REACHABLE_H__
-
- +#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 <vector>
- using std::vector;
-
|