X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73233875640926ff5f1e3844fdd5b8a6ec469fb2..9d41f689dc1b44455bc0fae01318e63dd4caf594:/include/wx/wxchar.h?ds=inline diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 27148c595d..6dadaecf49 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -131,6 +131,8 @@ #elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x520) #define wxHAVE_TCHAR_SUPPORT #include +#elif defined(__WATCOMC__) + #define wxHAVE_TCHAR_SUPPORT #elif defined(__MINGW32__) && wxCHECK_W32API_VERSION( 1, 0 ) #define wxHAVE_TCHAR_SUPPORT #include @@ -580,18 +582,11 @@ #define wxStrxfrm strxfrm // stdio.h functions - #if defined(__WXMAC__) && !defined(__DARWIN__) && !wxUSE_UNICODE - #include - WXDLLIMPEXP_BASE FILE * wxFopen(const wxChar *path, const wxChar *mode); - WXDLLIMPEXP_BASE FILE * wxFreopen(const wxChar *path, const wxChar *mode, FILE *stream); - WXDLLIMPEXP_BASE int wxRemove(const wxChar *path); - WXDLLIMPEXP_BASE int wxRename(const wxChar *oldpath, const wxChar *newpath); - #else #define wxFopen fopen #define wxFreopen freopen #define wxRemove remove #define wxRename rename - #endif + #define wxPerror perror #define wxTmpnam tmpnam @@ -599,6 +594,7 @@ #define wxFgetchar fgetchar #define wxFgets fgets #define wxFputc fputc + #define wxFputs fputs #define wxFputchar fputchar #define wxFprintf fprintf #define wxFscanf fscanf