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:
parent
10d5be9ad3
commit
2858119ba4
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user