From 42d9bd5dc99349749eaa1e8924aaf3ef1549e4e9 Mon Sep 17 00:00:00 2001 From: David Webster Date: Mon, 19 Aug 2002 02:22:46 +0000 Subject: [PATCH] need for VisualAge to include wchar.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wxchar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 242778762b..2693bdbf06 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -120,7 +120,7 @@ // time.h functions -- none defined in tchar.h #define wxAsctime asctime #define wxCtime ctime -#elif defined(__MWERKS__) +#elif defined(__MWERKS__) || defined(__VISAGECPP__) // for wcslen #if wxUSE_WCHAR_T #include @@ -327,7 +327,7 @@ typedef _TUCHAR wxUChar; // VS: wxWindows used to define wxChar as __WCHAR_TYPE__ here. However, this doesn't // work with new GCC 3.x compilers because wchar_t is C++'s builtin type in the new -// standard. OTOH, old compilers (GCC 2.x) won't accept new definition +// standard. OTOH, old compilers (GCC 2.x) won't accept new definition // of wx{S,U}Char, therefore we have to define wxChar conditionally depending on // detected compiler & compiler version. // The most complicated case is the infamous so-called "gcc-2.96" which does not -- 2.45.2