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);