From 327996045ce929a8fb5d69f2aa1bcdf7d798146b Mon Sep 17 00:00:00 2001 From: dannysmith Date: Tue, 8 Oct 2002 20:28:13 +0000 Subject: [PATCH] 2002-10-08 Heiko Gerdau * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd. _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE mappings. --- winsup/mingw/ChangeLog | 6 ++++++ winsup/mingw/include/tchar.h | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index bca53671c4..d1dbf19140 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,9 @@ +2002-10-08 Heiko Gerdau + + * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd. + _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE + mappings. + 2002-10-07 Danny Smith * mingwex/math/powil.c: Rename powil to __powil. diff --git a/winsup/mingw/include/tchar.h b/winsup/mingw/include/tchar.h index 12eccc18ad..a82347d3c6 100644 --- a/winsup/mingw/include/tchar.h +++ b/winsup/mingw/include/tchar.h @@ -206,6 +206,12 @@ typedef wchar_t _TCHAR; #define _tfindfirsti64 _wfindfirsti64 #define _tfindnexti64 _wfindnexti64 #define _tfinddatai64_t _wfinddatai64_t +#define _tchdir _wchdir +#define _tgetcwd _wgetcwd +#define _tgetdcwd _wgetdcwd +#define _tmkdir _wmkdir +#define _trmdir _wrmdir +#define _tstat _wstat #endif /* __MSVCRT__ */ /* dirent structures and functions */ @@ -359,6 +365,12 @@ typedef char _TCHAR; #define _tsetlocale setlocale #define _tunlink _unlink #define _tfinddata_t _finddata_t +#define _tchdir _chdir +#define _tgetcwd _getcwd +#define _tgetdcwd _getdcwd +#define _tmkdir _mkdir +#define _trmdir _rmdir +#define _tstat _stat #if 1 /* defined __MSVCRT__ */ /* Not in crtdll.dll. Define macros anyway? */ -- 2.11.0