summaryrefslogtreecommitdiffstats
path: root/third_party/cld
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-03 18:33:55 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-03 18:33:55 +0000
commit13a964293fe2a6f55c758db94ac42ed86a75649e (patch)
tree6a4d96397ed95f6fced08fc9387b0a72ecc8b47b /third_party/cld
parentfe094ee2adba890db1c2823f609f5c5b9cc23525 (diff)
downloadchromium_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.h2
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