Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: third_party/re2/util/util.h

Issue 835633003: Enable libc++ on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/re2/patches/re2-libcxx.patch ('k') | tools/android/run_pie/run_pie.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 #if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(OS_ANDROID) && \ 49 #if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(OS_ANDROID) && \
50 !defined(_LIBCPP_ABI_VERSION) 50 !defined(_LIBCPP_ABI_VERSION)
51 51
52 #include <tr1/unordered_set> 52 #include <tr1/unordered_set>
53 using std::tr1::unordered_set; 53 using std::tr1::unordered_set;
54 54
55 #else 55 #else
56 56
57 #include <unordered_set> 57 #include <unordered_set>
58 #if defined(WIN32) || defined(OS_ANDROID) 58 #if defined(WIN32) || (defined(OS_ANDROID) && !defined(_LIBCPP_ABI_VERSION))
59 using std::tr1::unordered_set; 59 using std::tr1::unordered_set;
60 #else 60 #else
61 using std::unordered_set; 61 using std::unordered_set;
62 #endif 62 #endif
63 63
64 #endif 64 #endif
65 65
66 namespace re2 { 66 namespace re2 {
67 67
68 typedef int8_t int8; 68 typedef int8_t int8;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 } 142 }
143 143
144 } // namespace re2 144 } // namespace re2
145 145
146 #include "util/arena.h" 146 #include "util/arena.h"
147 #include "util/logging.h" 147 #include "util/logging.h"
148 #include "util/mutex.h" 148 #include "util/mutex.h"
149 #include "util/utf.h" 149 #include "util/utf.h"
150 150
151 #endif // RE2_UTIL_UTIL_H__ 151 #endif // RE2_UTIL_UTIL_H__
OLDNEW
« no previous file with comments | « third_party/re2/patches/re2-libcxx.patch ('k') | tools/android/run_pie/run_pie.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698