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

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

Issue 1516543002: Update re2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated update instructions Created 5 years 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-android.patch ('k') | third_party/re2/patches/re2-msan.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/third_party/re2/util/util.h b/third_party/re2/util/util.h
2 index 8f54040..de1ef5b 100644
3 --- a/third_party/re2/util/util.h
4 +++ b/third_party/re2/util/util.h
5 @@ -46,7 +46,8 @@ using std::sort;
6 using std::swap;
7 using std::make_pair;
8
9 -#if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(OS_ANDROID)
10 +#if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(OS_ANDROID) && \
11 + !defined(_LIBCPP_ABI_VERSION)
12
13 #include <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/re2/patches/re2-android.patch ('k') | third_party/re2/patches/re2-msan.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698