Added RTL functions missing from WinCE to wxchar.h/cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-07-15 13:46:39 +00:00
parent 529b7f71bd
commit 0be9ace27e
6 changed files with 36 additions and 28 deletions

View File

@@ -74,13 +74,7 @@ protected:
static void** AllocTable( size_t sz )
{
#ifdef __WXWINCE__
void** ptr = (void **)malloc(sz * sizeof(void*));
memset( ptr, 0, sz * sizeof(void*));
return ptr;
#else
return (void **)calloc(sz, sizeof(void*));
#endif
}
};