diff options
author | KO Myung-Hun <komh@chollian.net> | 2017-02-05 12:13:42 +0900 |
---|---|---|
committer | KO Myung-Hun <komh@chollian.net> | 2018-10-16 00:22:14 +0900 |
commit | 0080704038530fc674c8b9b20c1741645ef65819 (patch) | |
tree | f5cbdce2d8bd84af0b4800beb8aea0302f8195b2 | |
parent | c49ca22a88561268db5cd3a401cf6b68576a23fd (diff) | |
download | libvpx-0080704038530fc674c8b9b20c1741645ef65819.tar libvpx-0080704038530fc674c8b9b20c1741645ef65819.tar.gz libvpx-0080704038530fc674c8b9b20c1741645ef65819.tar.bz2 libvpx-0080704038530fc674c8b9b20c1741645ef65819.zip |
Use wcslen() instead of std::wcslen()
OS/2 kLIBC has wcslen(), but it is not in std namespace.
Change-Id: I0b4fd6705e6ae938b2188abdc688eea3bba27430
-rw-r--r-- | third_party/googletest/README.libvpx | 2 | ||||
-rw-r--r-- | third_party/googletest/src/src/gtest-printers.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/third_party/googletest/README.libvpx b/third_party/googletest/README.libvpx index f4ca22bba..9dc2a440c 100644 --- a/third_party/googletest/README.libvpx +++ b/third_party/googletest/README.libvpx @@ -24,3 +24,5 @@ Local Modifications: - Make WithParamInterface<T>::GetParam static in order to avoid initialization issues https://github.com/google/googletest/pull/1830 +- Use wcslen() instead of std::wcslen() + https://github.com/google/googletest/pull/1899 diff --git a/third_party/googletest/src/src/gtest-printers.cc b/third_party/googletest/src/src/gtest-printers.cc index d55a5e9bf..f9b274e8b 100644 --- a/third_party/googletest/src/src/gtest-printers.cc +++ b/third_party/googletest/src/src/gtest-printers.cc @@ -349,7 +349,7 @@ void PrintTo(const wchar_t* s, ostream* os) { *os << "NULL"; } else { *os << ImplicitCast_<const void*>(s) << " pointing to "; - PrintCharsAsStringTo(s, std::wcslen(s), os); + PrintCharsAsStringTo(s, wcslen(s), os); } } #endif // wchar_t is native |