Some WinCE fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-07-10 21:14:50 +00:00
parent fc10daf37c
commit 7f0586ef60
7 changed files with 254 additions and 278 deletions

View File

@@ -20,6 +20,10 @@
#include <stddef.h> // for ptrdiff_t
#ifdef __WXWINCE__
typedef int ptrdiff_t;
#endif
// private
struct WXDLLIMPEXP_BASE _wxHashTable_NodeBase
{
@@ -70,7 +74,11 @@ protected:
static void** AllocTable( size_t sz )
{
#ifdef __WXWINCE__
return (void **)malloc(sz * sizeof(void*));
#else
return (void **)calloc(sz, sizeof(void*));
#endif
}
};