Modified full UNICODE support for VisualAge C++ for OS/2 V4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -184,10 +184,10 @@ typedef _TUCHAR wxUChar;
|
|||||||
# define wxNEED_WX_TIME_H
|
# define wxNEED_WX_TIME_H
|
||||||
|
|
||||||
// VisualAge C++ V4.0 has broad tchar support
|
// VisualAge C++ V4.0 has broad tchar support
|
||||||
#elif defined(__VISAGECPP__) && __IBMCPP >= 400
|
#elif defined(__VISAGECPP__) && __IBMCPP__ >= 400
|
||||||
|
|
||||||
# define HAVE_WCSLEN 1
|
# define HAVE_WCSLEN 1
|
||||||
|
# include <wchar.h>
|
||||||
# include <tchar.h>
|
# include <tchar.h>
|
||||||
|
|
||||||
# if wxUSE_UNICODE // temporary - preserve binary compatibility
|
# if wxUSE_UNICODE // temporary - preserve binary compatibility
|
||||||
@@ -206,7 +206,7 @@ typedef _TUCHAR wxUChar;
|
|||||||
// ctype.h functions
|
// ctype.h functions
|
||||||
# define wxIsalnum _istalnum
|
# define wxIsalnum _istalnum
|
||||||
# define wxIsalpha _istalpha
|
# define wxIsalpha _istalpha
|
||||||
# define wxIsctrl _istctrl
|
# define wxIsctrl _istcntrl
|
||||||
# define wxIsdigit _istdigit
|
# define wxIsdigit _istdigit
|
||||||
# define wxIsgraph _istgraph
|
# define wxIsgraph _istgraph
|
||||||
# define wxIslower _istlower
|
# define wxIslower _istlower
|
||||||
@@ -218,8 +218,8 @@ typedef _TUCHAR wxUChar;
|
|||||||
# define wxTolower _totlower
|
# define wxTolower _totlower
|
||||||
# define wxToupper _totupper
|
# define wxToupper _totupper
|
||||||
|
|
||||||
// locale.h functons
|
// locale.h functons -- not defined in tchar.h
|
||||||
# define wxSetlocale _tsetlocale
|
# define wxSetlocale setlocale
|
||||||
|
|
||||||
// string.h functions
|
// string.h functions
|
||||||
# define wxStrcat _tcscat
|
# define wxStrcat _tcscat
|
||||||
@@ -246,46 +246,47 @@ typedef _TUCHAR wxUChar;
|
|||||||
|
|
||||||
// stdio.h functions
|
// stdio.h functions
|
||||||
# define wxFgetc _fgettc
|
# define wxFgetc _fgettc
|
||||||
# define wxFgetchar _fgettchar
|
|
||||||
# define wxFgets _fgetts
|
# define wxFgets _fgetts
|
||||||
# define wxFopen _tfopen
|
|
||||||
# define wxFputc _fputtc
|
# define wxFputc _fputtc
|
||||||
# define wxFputchar _fputtchar
|
|
||||||
# define wxFprintf _ftprintf
|
# define wxFprintf _ftprintf
|
||||||
# define wxFreopen _tfreopen
|
|
||||||
# define wxFscanf _ftscanf
|
# define wxFscanf _ftscanf
|
||||||
# define wxGetc _gettc
|
# define wxGetc _gettc
|
||||||
# define wxGetchar _gettchar
|
# define wxGetchar _gettchar
|
||||||
# define wxGets _getts
|
|
||||||
# define wxPerror _tperror
|
|
||||||
# define wxPrintf _tprintf
|
# define wxPrintf _tprintf
|
||||||
# define wxPutc _puttc
|
# define wxPutc _puttc
|
||||||
# define wxPutchar _puttchar
|
# define wxPutchar _puttchar
|
||||||
# define wxPuts _putts
|
|
||||||
# define wxRemove _tremove
|
|
||||||
# define wxRename _trename
|
|
||||||
# define wxScanf _tscanf
|
# define wxScanf _tscanf
|
||||||
# define wxSprintf _stprintf
|
# define wxSprintf _stprintf
|
||||||
# define wxSscanf _stscanf
|
# define wxSscanf _stscanf
|
||||||
# define wxTmpnam _ttmpnam
|
|
||||||
# define wxUngetc _tungetc
|
|
||||||
# define wxVfprint _vftprintf
|
# define wxVfprint _vftprintf
|
||||||
# define wxVprintf _vtprintf
|
# define wxVprintf _vtprintf
|
||||||
# define wxVsscanf _vstscanf
|
|
||||||
# define wxVsprintf _vstprintf
|
# define wxVsprintf _vstprintf
|
||||||
|
// not defined in tchar.h
|
||||||
|
# define wxFgetchar fgetchar
|
||||||
|
# define wxFopen fopen
|
||||||
|
# define wxFputchar fputchar
|
||||||
|
# define wxFreopen freopen
|
||||||
|
# define wxGets gets
|
||||||
|
# define wxPerror perror
|
||||||
|
# define wxPuts puts
|
||||||
|
# define wxRemove remove
|
||||||
|
# define wxRename rename
|
||||||
|
# define wxTmpnam tmpnam
|
||||||
|
# define wxUngetc ungetc
|
||||||
|
# define wxVsscanf vsscanf
|
||||||
|
|
||||||
// stdlib.h functions
|
// stdlib.h functions -- none defined in tchar.h
|
||||||
# if !wxUSE_UNICODE
|
# if !wxUSE_UNICODE
|
||||||
# define wxAtof atof
|
# define wxAtof atof
|
||||||
# endif
|
# endif
|
||||||
# define wxAtoi _ttoi
|
# define wxAtoi atoi
|
||||||
# define wxAtol _ttol
|
# define wxAtol atol
|
||||||
# define wxGetenv _tgetenv
|
# define wxGetenv getenv
|
||||||
# define wxSystem _tsystem
|
# define wxSystem system
|
||||||
|
|
||||||
// time.h functions
|
// time.h functions -- none defined in tchar.h
|
||||||
# define wxAsctime _tasctime
|
# define wxAsctime asctime
|
||||||
# define wxCtime _tctime
|
# define wxCtime ctime
|
||||||
|
|
||||||
// #elif defined(XXX)
|
// #elif defined(XXX)
|
||||||
// #include XXX-specific files here
|
// #include XXX-specific files here
|
||||||
|
Reference in New Issue
Block a user