Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2005-01-12 12:08:12 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2005-01-12 12:08:12 +0300
commit49f78301870ff5bdd9f6b4652ba6e45b9393e916 (patch)
treeadd06ea4c24b9c415c6296f68250fea92b7bd5c6 /winsup/mingw
parent114b7248ee21c647c2b2c712961518a0d425d743 (diff)
* include/tchar.h (_tfreopen): Add UNICODE mappings.
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/include/tchar.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index e1cff4af5..b91753867 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/tchar.h (_tfreopen): Add UNICODE mappings.
+
2005-01-11 Earnie Boyd <earnie@users.sf.net>
* include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
diff --git a/winsup/mingw/include/tchar.h b/winsup/mingw/include/tchar.h
index 48e034fac..4f4b38cb1 100644
--- a/winsup/mingw/include/tchar.h
+++ b/winsup/mingw/include/tchar.h
@@ -174,6 +174,7 @@ typedef wchar_t _TCHAR;
#define _tfindnext _wfindnext
#define _tfdopen _wfdopen
#define _tfopen _wfopen
+#define _tfreopen _wfreopen
#define _tfsopen _wfsopen
#define _tgetenv _wgetenv
#define _tputenv _wputenv
@@ -259,6 +260,7 @@ typedef char _TCHAR;
#define _fputts fputs
#define _tfdopen _fdopen
#define _tfopen fopen
+#define _tfreopen freopen
#define _tfsopen _fsopen
#define _tgetenv getenv
#define _tputenv _putenv