X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9199e66fb56bc80b81b91f59250df78d7197052e..378b05f7f86eda83452d67f182afc62a0f9b982f:/include/wx/wxchar.h diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 75396ac0b7..2d56328d0a 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -169,15 +169,19 @@ typedef _TUCHAR wxUChar; # endif // wchar_t is available # undef wxUSE_WCHAR_T +// This test is for C++Builder +#if __BORLANDC__ >= 0x530 +# define wxUSE_WCHAR_T 0 +#else # define wxUSE_WCHAR_T 1 - +# define wxNEED_WCSLEN +#endif # define wxNEED_WX_CTYPE_H // #define wxStrtok strtok_r // Borland C++ 4.52 doesn't have strtok_r # define wxNEED_WX_STRING_H # define wxNEED_WX_STDIO_H # define wxNEED_WX_STDLIB_H # define wxNEED_WX_TIME_H -# define wxNEED_WCSLEN #else//!TCHAR-aware compilers