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

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

Issue 951983002: Reland "Enable libc++ on Android" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clang+mesa Created 5 years, 7 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 using std::make_pair; 47 using std::make_pair;
48 48
49 #if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(_LIBCPP_ABI_VERSION) && !defined(OS_ANDROID) 49 #if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(_LIBCPP_ABI_VERSION) && !defined(OS_ANDROID)
50 50
51 #include <tr1/unordered_set> 51 #include <tr1/unordered_set>
52 using std::tr1::unordered_set; 52 using std::tr1::unordered_set;
53 53
54 #else 54 #else
55 55
56 #include <unordered_set> 56 #include <unordered_set>
57 #if defined(WIN32) || defined(OS_ANDROID) 57 #if defined(WIN32) || (defined(OS_ANDROID) && !defined(_LIBCPP_ABI_VERSION))
58 using std::tr1::unordered_set; 58 using std::tr1::unordered_set;
59 #else 59 #else
60 using std::unordered_set; 60 using std::unordered_set;
61 #endif 61 #endif
62 62
63 #endif 63 #endif
64 64
65 namespace re2 { 65 namespace re2 {
66 66
67 typedef int8_t int8; 67 typedef int8_t int8;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 } 141 }
142 142
143 } // namespace re2 143 } // namespace re2
144 144
145 #include "util/arena.h" 145 #include "util/arena.h"
146 #include "util/logging.h" 146 #include "util/logging.h"
147 #include "util/mutex.h" 147 #include "util/mutex.h"
148 #include "util/utf.h" 148 #include "util/utf.h"
149 149
150 #endif // RE2_UTIL_UTIL_H__ 150 #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