1 diff -r cae1910ce3c5 re2/parse.cc
2 --- a/re2/parse.cc Mon Jul 30 16:12:46 2012 +0200
3 +++ b/re2/parse.cc Tue Jul 31 14:12:31 2012 +0200
5 // and recognizes the Perl escape sequences \d, \s, \w, \D, \S, and \W.
6 // See regexp.h for rationale.
10 #include "util/util.h"
11 #include "re2/regexp.h"
12 #include "re2/stringpiece.h"
13 diff -r cae1910ce3c5 re2/re2.cc
14 --- a/re2/re2.cc Mon Jul 30 16:12:46 2012 +0200
15 +++ b/re2/re2.cc Tue Jul 31 14:12:31 2012 +0200
25 diff -r cae1910ce3c5 util/util.h
26 --- a/util/util.h Mon Jul 30 16:12:46 2012 +0200
27 +++ b/util/util.h Tue Jul 31 14:12:31 2012 +0200
32 +#include "build/build_config.h"
33 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
40 -#if defined(__GNUC__) && !defined(USE_CXX0X)
41 +#if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(OS_ANDROID)
43 #include <tr1/unordered_set>
44 using std::tr1::unordered_set;
48 #include <unordered_set>
50 +#if defined(WIN32) || defined(OS_ANDROID)
51 using std::tr1::unordered_set;
53 using std::unordered_set;