diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index cb07176438..1ac1585756 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -113,6 +113,11 @@ // time.h functions -- none defined in tchar.h #define wxAsctime asctime #define wxCtime ctime +#elif defined(__MWERKS__) + // for wcslen + #if wxUSE_WCHAR_T + #include + #endif #endif // compilers with (good) TCHAR support #ifdef wxHAVE_TCHAR_FUNCTIONS