X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1437caac25c0dc8019dd2c1ed45ba528a63549..59840ba3b16e4baf3228dd79c6b7ae40b55cf488:/include/wx/wxchar.h diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 019add2a0f..462da579d6 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -202,6 +202,13 @@ typedef _TUCHAR wxUChar; // stdio.h functions #ifndef wxNO_TCHAR_STDIO +# if wxUSE_UNICODE_MSLU +# define wxRemove wxMSLU__tremove +# define wxRename wxMSLU__trename +# else +# define wxRemove _tremove +# define wxRename _trename +# endif # define wxFgetc _fgettc # define wxFgetchar _fgettchar # define wxFgets _fgetts @@ -219,8 +226,6 @@ typedef _TUCHAR wxUChar; # define wxPutc _puttc # define wxPutchar _puttchar # define wxPuts _putts -# define wxRemove _tremove -# define wxRename _trename # define wxScanf _tscanf # define wxSprintf _stprintf # define wxSscanf _stscanf @@ -302,7 +307,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