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

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

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/mesa/mesa.gyp ('k') | third_party/re2/util/util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 diff --git a/third_party/re2/util/util.h b/third_party/re2/util/util.h 1 diff --git a/third_party/re2/util/util.h b/third_party/re2/util/util.h
2 index 8f54040..de1ef5b 100644 2 index 8f54040..de1ef5b 100644
3 --- a/third_party/re2/util/util.h 3 --- a/third_party/re2/util/util.h
4 +++ b/third_party/re2/util/util.h 4 +++ b/third_party/re2/util/util.h
5 @@ -46,7 +46,8 @@ using std::sort; 5 @@ -46,7 +46,8 @@ using std::sort;
6 using std::swap; 6 using std::swap;
7 using std::make_pair; 7 using std::make_pair;
8 8
9 -#if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(OS_ANDROID) 9 -#if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(OS_ANDROID)
10 +#if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(OS_ANDROID) && \ 10 +#if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(OS_ANDROID) && \
11 + !defined(_LIBCPP_ABI_VERSION) 11 + !defined(_LIBCPP_ABI_VERSION)
12 12
13 #include <tr1/unordered_set> 13 #include <tr1/unordered_set>
14 using std::tr1::unordered_set; 14 using std::tr1::unordered_set;
15 @@ -54,1 +55,1 @@ using std::tr1::unordered_set;
16 #else
17
18 #include <unordered_set>
19 -#if defined(WIN32) || defined(OS_ANDROID)
20 +#if defined(WIN32) || (defined(OS_ANDROID) && !defined(_LIBCPP_ABI_VERSION))
21 using std::tr1::unordered_set;
22 #else
23 using std::unordered_set;
OLDNEW
« no previous file with comments | « third_party/mesa/mesa.gyp ('k') | third_party/re2/util/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698