need for VisualAge to include wchar.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -120,7 +120,7 @@
|
|||||||
// time.h functions -- none defined in tchar.h
|
// time.h functions -- none defined in tchar.h
|
||||||
#define wxAsctime asctime
|
#define wxAsctime asctime
|
||||||
#define wxCtime ctime
|
#define wxCtime ctime
|
||||||
#elif defined(__MWERKS__)
|
#elif defined(__MWERKS__) || defined(__VISAGECPP__)
|
||||||
// for wcslen
|
// for wcslen
|
||||||
#if wxUSE_WCHAR_T
|
#if wxUSE_WCHAR_T
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
@@ -327,7 +327,7 @@ typedef _TUCHAR wxUChar;
|
|||||||
|
|
||||||
// VS: wxWindows used to define wxChar as __WCHAR_TYPE__ here. However, this doesn't
|
// 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
|
// 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
|
// of wx{S,U}Char, therefore we have to define wxChar conditionally depending on
|
||||||
// detected compiler & compiler version.
|
// detected compiler & compiler version.
|
||||||
// The most complicated case is the infamous so-called "gcc-2.96" which does not
|
// The most complicated case is the infamous so-called "gcc-2.96" which does not
|
||||||
|
Reference in New Issue
Block a user