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

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

Issue 11468030: proof of concept for building with libc++ Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works. needs breakpad patch too. Created 8 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 | Annotate | Revision Log
« no previous file with comments | « third_party/protobuf/src/google/protobuf/message.cc ('k') | no next file » | 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 27 matching lines...) Expand all
38 using std::string; 38 using std::string;
39 using std::min; 39 using std::min;
40 using std::max; 40 using std::max;
41 using std::ostream; 41 using std::ostream;
42 using std::map; 42 using std::map;
43 using std::stack; 43 using std::stack;
44 using std::sort; 44 using std::sort;
45 using std::swap; 45 using std::swap;
46 using std::make_pair; 46 using std::make_pair;
47 47
48 #if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(OS_ANDROID) 48 #if defined(__GNUC__) && !defined(USE_CXX0X) && !defined(OS_ANDROID) && !defined (_LIBCPP_VERSION)
49 49
50 #include <tr1/unordered_set> 50 #include <tr1/unordered_set>
51 using std::tr1::unordered_set; 51 using std::tr1::unordered_set;
52 52
53 #else 53 #else
54 54
55 #include <unordered_set> 55 #include <unordered_set>
56 #if defined(WIN32) || defined(OS_ANDROID) 56 #if defined(WIN32) || defined(OS_ANDROID)
57 using std::tr1::unordered_set; 57 using std::tr1::unordered_set;
58 #else 58 #else
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 } 115 }
116 116
117 } // namespace re2 117 } // namespace re2
118 118
119 #include "util/arena.h" 119 #include "util/arena.h"
120 #include "util/logging.h" 120 #include "util/logging.h"
121 #include "util/mutex.h" 121 #include "util/mutex.h"
122 #include "util/utf.h" 122 #include "util/utf.h"
123 123
124 #endif // RE2_UTIL_UTIL_H__ 124 #endif // RE2_UTIL_UTIL_H__
OLDNEW
« no previous file with comments | « third_party/protobuf/src/google/protobuf/message.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698