blob: c0a697535133c839d15d3feb91e344a0b2b9a82b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-src_include_fst_test-properties.h,v 1.1 2013/05/06 14:53:17 joerg Exp $
--- src/include/fst/test-properties.h.orig 2013-05-03 17:21:06.000000000 +0000
+++ src/include/fst/test-properties.h
@@ -20,8 +20,15 @@
#ifndef FST_LIB_TEST_PROPERTIES_H__
#define FST_LIB_TEST_PROPERTIES_H__
+#include <ciso646>
+
+#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
+#include <unordered_set>
+using std::unordered_set;
+#else
#include <tr1/unordered_set>
using std::tr1::unordered_set;
+#endif
#include <fst/mutable-fst.h>
#include <fst/dfs-visit.h>
#include <fst/connect.h>
|