diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 3a126dad6e..5a6263ac63 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -76,6 +76,11 @@ #define HAVE_WCHAR_H #endif #endif +#if defined(__MWERKS__) && !defined(__MACH__) + #ifndef HAVE_WCSLEN + #define HAVE_WCSLEN + #endif +#endif #if wxUSE_WCHAR_T #ifdef HAVE_WCHAR_H