X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92d8fb5dc6b70f1fb22f8184977791b18b6154dd..e128397f931f7a97316057588c6dfd70b1b9fd97:/include/wx/wxchar.h diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index ecf6f69753..41ad07a808 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -902,10 +902,12 @@ WXDLLIMPEXP_BASE int wxSystem(const wxChar *psz); const wxChar *fmt, const struct tm *tm); #endif // wxNEED_WX_TIME_H -// missing functions in early WinCE versions -#if defined(_WIN32_WCE) && (_WIN32_WCE < 300) -WXDLLIMPEXP_BASE char* strdup(const char* s); +// missing functions in some WinCE versions +#ifdef _WIN32_WCE +#if (_WIN32_WCE < 300) WXDLLIMPEXP_BASE void *calloc( size_t num, size_t size ); +#endif +WXDLLIMPEXP_BASE char* strdup(const char* s); #if _WIN32_WCE <= 211 WXDLLIMPEXP_BASE int isspace(int c);