diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-03 18:33:55 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-03 18:33:55 +0000 |
commit | 13a964293fe2a6f55c758db94ac42ed86a75649e (patch) | |
tree | 6a4d96397ed95f6fced08fc9387b0a72ecc8b47b /third_party/cld | |
parent | fe094ee2adba890db1c2823f609f5c5b9cc23525 (diff) | |
download | chromium_src-13a964293fe2a6f55c758db94ac42ed86a75649e.zip chromium_src-13a964293fe2a6f55c758db94ac42ed86a75649e.tar.gz chromium_src-13a964293fe2a6f55c758db94ac42ed86a75649e.tar.bz2 |
cld: Fix infinite recursion.
Putting stuff in the 'base' namespace is still dangerous,
but we don't violate ODR since its definition is identical
to Chrome's base::strcasecmp.
Review URL: http://codereview.chromium.org/7112014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87818 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/cld')
-rw-r--r-- | third_party/cld/base/string_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/cld/base/string_util.h b/third_party/cld/base/string_util.h index 7717e5b..2f43ab8 100644 --- a/third_party/cld/base/string_util.h +++ b/third_party/cld/base/string_util.h @@ -20,7 +20,7 @@ inline int strcasecmp(const char* s1, const char* s2) { }
#else
inline int strcasecmp(const char* s1, const char* s2) {
- return strcasecmp(s1, s2);
+ return ::strcasecmp(s1, s2);
}
#endif
|