patch-src_include_fst_determinize_h 565 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-src_include_fst_determinize_h,v 1.1 2017/05/07 20:00:25 espie Exp $
  2. Index: src/include/fst/determinize.h
  3. --- src/include/fst/determinize.h.orig
  4. +++ src/include/fst/determinize.h
  5. @@ -24,9 +24,15 @@
  6. #include <algorithm>
  7. #include <climits>
  8. +#if defined(__clang__) || __cplusplus >= 201103L
  9. +#include<unordered_map>
  10. +using std::unordered_map;
  11. +using std::unordered_multimap;
  12. +#else
  13. #include <tr1/unordered_map>
  14. using std::tr1::unordered_map;
  15. using std::tr1::unordered_multimap;
  16. +#endif
  17. #include <map>
  18. #include <fst/slist.h>
  19. #include <string>