shithub: libvpx

Download patch

ref: 0080704038530fc674c8b9b20c1741645ef65819
parent: c49ca22a88561268db5cd3a401cf6b68576a23fd
author: KO Myung-Hun <komh@chollian.net>
date: Sun Feb 5 07:13:42 EST 2017

Use wcslen() instead of std::wcslen()

OS/2 kLIBC has wcslen(), but it is not in std namespace.

Change-Id: I0b4fd6705e6ae938b2188abdc688eea3bba27430

--- a/third_party/googletest/README.libvpx
+++ b/third_party/googletest/README.libvpx
@@ -24,3 +24,5 @@
 - 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
--- a/third_party/googletest/src/src/gtest-printers.cc
+++ b/third_party/googletest/src/src/gtest-printers.cc
@@ -349,7 +349,7 @@
     *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
--