From 4c42aaf27782c36491d60956d58d05a5edafc84e Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 25 Mar 2004 20:30:19 +0000 Subject: * include/stdio.h (_fsopen): Add prototype. * include/tchar.h (_tfsopen): Add defines. Thanks to "Gerik" --- winsup/mingw/include/stdio.h | 1 + winsup/mingw/include/tchar.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'winsup/mingw/include') diff --git a/winsup/mingw/include/stdio.h b/winsup/mingw/include/stdio.h index 84b3b1087..b7225afe8 100644 --- a/winsup/mingw/include/stdio.h +++ b/winsup/mingw/include/stdio.h @@ -390,6 +390,7 @@ _CRTIMP int __cdecl _fputchar (int); _CRTIMP FILE* __cdecl _fdopen (int, const char*); _CRTIMP int __cdecl _fileno (FILE*); _CRTIMP int __cdecl _fcloseall(void); +_CRTIMP FILE* __cdecl _fsopen(const char*, const char*, int); #ifdef __MSVCRT__ _CRTIMP int __cdecl _getmaxstdio(void); _CRTIMP int __cdecl _setmaxstdio(int); diff --git a/winsup/mingw/include/tchar.h b/winsup/mingw/include/tchar.h index edbf6211e..d2a6665a4 100644 --- a/winsup/mingw/include/tchar.h +++ b/winsup/mingw/include/tchar.h @@ -190,6 +190,7 @@ typedef wchar_t _TCHAR; #define _tfindnext _wfindnext #define _tfdopen _wfdopen #define _tfopen _wfopen +#define _tfsopen _wfsopen #define _tgetenv _wgetenv #define _tputenv _wputenv #define _tsearchenv _wsearchenv @@ -274,6 +275,7 @@ typedef char _TCHAR; #define _fputts fputs #define _tfdopen _fdopen #define _tfopen fopen +#define _tfsopen _fsopen #define _tgetenv getenv #define _tputenv _putenv #define _tsearchenv _searchenv -- cgit v1.2.3