summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/tchar.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-10-08 20:28:14 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2002-10-08 20:28:14 +0000
commit32fef334cd376c22dcd2e08d45994355464b5ee8 (patch)
tree37ab902544b001eddaf66ef458083f24f7776268 /winsup/mingw/include/tchar.h
parent7397211686835737adc0d252a996c8c5b8e72e40 (diff)
downloadcygnal-32fef334cd376c22dcd2e08d45994355464b5ee8.tar.gz
cygnal-32fef334cd376c22dcd2e08d45994355464b5ee8.tar.bz2
cygnal-32fef334cd376c22dcd2e08d45994355464b5ee8.zip
2002-10-08 Heiko Gerdau <hg@technosis.de>
* include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd. _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE mappings.
Diffstat (limited to 'winsup/mingw/include/tchar.h')
-rw-r--r--winsup/mingw/include/tchar.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/winsup/mingw/include/tchar.h b/winsup/mingw/include/tchar.h
index 12eccc18a..a82347d3c 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? */