Optional implementation of wcslen().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven 1999-04-26 10:16:21 +00:00
parent 10d5be9ad3
commit 2858119ba4

View File

@ -106,6 +106,15 @@ bool WXDLLEXPORT wxOKlibc()
return TRUE;
}
#ifdef wxNEED_WCSLEN
size_t WXDLLEXPORT wcslen(const wchar_t *s)
{
size_t len;
while (s[len]) len++;
return len;
}
#endif
#ifndef wxStrdup
wxChar * WXDLLEXPORT wxStrdup(const wxChar *psz)
{