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

Side by Side Diff: third_party/re2/patches/re2-android.patch

Issue 691783003: [WIP NOT FOR COMMIT] Switch Android to libc++ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove more unused stuff Created 5 years, 11 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/README.chromium ('k') | third_party/re2/patches/re2-libcxx.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff --git a/util/util.h b/util/util.h
2 index 17ef824..8f54040 100644
3 --- a/util/util.h
4 +++ b/util/util.h
5 @@ -29,6 +29,7 @@
6 #include <utility>
7 #include <set>
8
9 +#include "build/build_config.h"
10 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
11
12 // Use std names.
13 @@ -45,7 +46,7 @@ using std::sort;
14 using std::swap;
15 using std::make_pair;
16
17 -#if defined(__GNUC__) && !defined(USE_CXX0X)
18 +#if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(OS_ANDROID)
19
20 #include <tr1/unordered_set>
21 using std::tr1::unordered_set;
22 @@ -53,7 +54,7 @@ using std::tr1::unordered_set;
23 #else
24
25 #include <unordered_set>
26 -#ifdef WIN32
27 +#if defined(WIN32) || defined(OS_ANDROID)
28 using std::tr1::unordered_set;
29 #else
30 using std::unordered_set;
OLDNEW
« no previous file with comments | « third_party/re2/README.chromium ('k') | third_party/re2/patches/re2-libcxx.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698