OLD | NEW |
---|---|
1 // Copyright 2009 The RE2 Authors. All Rights Reserved. | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef RE2_UTIL_UTIL_H__ | 5 #ifndef RE2_UTIL_UTIL_H__ |
6 #define RE2_UTIL_UTIL_H__ | 6 #define RE2_UTIL_UTIL_H__ |
7 | 7 |
8 // C | 8 // C |
9 #include <stdio.h> | 9 #include <stdio.h> |
10 #include <string.h> | 10 #include <string.h> |
(...skipping 28 matching lines...) Expand all Loading... | |
39 using std::string; | 39 using std::string; |
40 using std::min; | 40 using std::min; |
41 using std::max; | 41 using std::max; |
42 using std::ostream; | 42 using std::ostream; |
43 using std::map; | 43 using std::map; |
44 using std::stack; | 44 using std::stack; |
45 using std::sort; | 45 using std::sort; |
46 using std::swap; | 46 using std::swap; |
47 using std::make_pair; | 47 using std::make_pair; |
48 | 48 |
49 #if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(OS_ANDROID) && \ | 49 #if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(_LIBCPP_ABI_VERSION) && !defined(OS_ANDROID) |
Nico
2015/04/22 23:48:28
ugh, rsc merged this bit too? That doesn't make se
tfarina
2015/04/22 23:57:51
Yep, it is all there. :/
https://code.googlesourc
| |
50 !defined(_LIBCPP_ABI_VERSION) | |
51 | 50 |
52 #include <tr1/unordered_set> | 51 #include <tr1/unordered_set> |
53 using std::tr1::unordered_set; | 52 using std::tr1::unordered_set; |
54 | 53 |
55 #else | 54 #else |
56 | 55 |
57 #include <unordered_set> | 56 #include <unordered_set> |
58 #if defined(WIN32) || defined(OS_ANDROID) | 57 #if defined(WIN32) || defined(OS_ANDROID) |
59 using std::tr1::unordered_set; | 58 using std::tr1::unordered_set; |
60 #else | 59 #else |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
142 } | 141 } |
143 | 142 |
144 } // namespace re2 | 143 } // namespace re2 |
145 | 144 |
146 #include "util/arena.h" | 145 #include "util/arena.h" |
147 #include "util/logging.h" | 146 #include "util/logging.h" |
148 #include "util/mutex.h" | 147 #include "util/mutex.h" |
149 #include "util/utf.h" | 148 #include "util/utf.h" |
150 | 149 |
151 #endif // RE2_UTIL_UTIL_H__ | 150 #endif // RE2_UTIL_UTIL_H__ |
OLD | NEW |