]> granicus.if.org Git - libvpx/commitdiff
Use wcslen() instead of std::wcslen()
authorKO Myung-Hun <komh@chollian.net>
Sun, 5 Feb 2017 03:13:42 +0000 (12:13 +0900)
committerKO Myung-Hun <komh@chollian.net>
Mon, 15 Oct 2018 15:22:14 +0000 (00:22 +0900)
OS/2 kLIBC has wcslen(), but it is not in std namespace.

Change-Id: I0b4fd6705e6ae938b2188abdc688eea3bba27430

third_party/googletest/README.libvpx
third_party/googletest/src/src/gtest-printers.cc

index f4ca22bbadbffec5123f5b8af132fbcd8e12592a..9dc2a440c9c789848db4c6aa0fe53f22ecf1ac1e 100644 (file)
@@ -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
index d55a5e9bfe86e512f10eb9cbca20fa99b65837b0..f9b274e8ba9da6ed49ff0a1405ca4c2a9b3df26a 100644 (file)
@@ -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