X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f562374f11048ff0005b7229683b3804d2208d2..c822ad5a5e30a21ca3340af644bf79804cf7c777:/include/wx/wxchar.h diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 1174ddb287..df2130d45d 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -69,6 +69,7 @@ #include #include #elif defined(__CYGWIN__) + #define HAVE_WCSLEN #include #include #endif @@ -301,7 +302,7 @@ typedef _TUCHAR wxUChar; // include wchar.h to get wcslen() declaration used by wx/buffer.h # include -# elif defined(__FreeBSD__) || defined(__DARWIN__) +# elif defined(__FreeBSD__) || defined(__DARWIN__) || defined(__EMX__) // include stdlib.h for wchar_t, wcslen is provided in wxchar.cpp # include @@ -466,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