summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/tchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/include/tchar.h')
-rw-r--r--winsup/mingw/include/tchar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/mingw/include/tchar.h b/winsup/mingw/include/tchar.h
index bc6f28f5c..7ab12c29a 100644
--- a/winsup/mingw/include/tchar.h
+++ b/winsup/mingw/include/tchar.h
@@ -187,6 +187,7 @@ typedef wchar_t _TCHAR;
#define _tcreat _wcreat
#define _tfindfirst _wfindfirst
#define _tfindnext _wfindnext
+#define _tfopen _wfdopen
#define _tfopen _wfopen
#define _tgetenv _wgetenv
#define _tputenv _wputenv
@@ -264,6 +265,7 @@ typedef char _TCHAR;
#define _fputtc fputc
#define _fputtchar _fputchar
#define _fputts fputs
+#define _tfdopen _fdopen
#define _tfopen fopen
#define _tgetenv getenv
#define _tputenv _putenv