diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 7537bd055d..019add2a0f 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -467,7 +467,9 @@ typedef unsigned __WCHAR_TYPE__ wxUChar; # define wxStrcoll strcoll # define wxStrcpy strcpy # define wxStrcspn strcspn +#if !defined(__MWERKS__) || !defined(__WXMAC__) # define wxStrdup strdup +#endif # define wxStrlen_ strlen // used in wxStrlen inline function # define wxStrncat strncat # define wxStrncmp strncmp