diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2002-09-29 21:51:04 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2002-09-29 21:51:04 +0000 |
commit | 3c4dccd7eb8d5fa4f96b768ee325861744494fc5 (patch) | |
tree | 428aea145501e1c38ccbad3ddb92329523cb45b9 /winsup/mingw/include/wchar.h | |
parent | 8c519afc0ffb664e675f776cb485686961f34857 (diff) | |
download | gdb-3c4dccd7eb8d5fa4f96b768ee325861744494fc5.tar.gz |
* include/wchar.h (__VALIST): Correct typo in __GNUC__ guard.
(FILE): Qualify with __CSTD when in global namespace.
Diffstat (limited to 'winsup/mingw/include/wchar.h')
-rw-r--r-- | winsup/mingw/include/wchar.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/winsup/mingw/include/wchar.h b/winsup/mingw/include/wchar.h index 78b3c55f6c5..0238668c2dc 100644 --- a/winsup/mingw/include/wchar.h +++ b/winsup/mingw/include/wchar.h @@ -94,7 +94,7 @@ __END_CSTD_NAMESPACE #ifndef _WSTDIO_DEFINED #ifndef __VALIST -#if defined __GNUC__ && __GNUC__ > = 3 +#if defined __GNUC__ && __GNUC__ >= 3 #define __VALIST __builtin_va_list #else #define __VALIST char* @@ -131,16 +131,16 @@ __BEGIN_CGLOBAL_NAMESPACE #ifndef __STRICT_ANSI__ wchar_t* _getws (wchar_t*); int _putws (const wchar_t*); -FILE* _wfdopen(int, wchar_t *); -FILE* _wfopen (const wchar_t*, const wchar_t*); -FILE* _wfreopen (const wchar_t*, const wchar_t*, FILE*); -FILE* _wfsopen (const wchar_t*, const wchar_t*, int); +__CSTD FILE* _wfdopen(int, wchar_t *); +__CSTD FILE* _wfopen (const wchar_t*, const wchar_t*); +__CSTD FILE* _wfreopen (const wchar_t*, const wchar_t*, __CSTD FILE*); +__CSTD FILE* _wfsopen (const wchar_t*, const wchar_t*, int); wchar_t* _wtmpnam (wchar_t*); wchar_t* _wtempnam (const wchar_t*, const wchar_t*); int _wrename (const wchar_t*, const wchar_t*); int _wremove (const wchar_t*); void _wperror (const wchar_t*); -FILE* _wpopen (const wchar_t*, const wchar_t*); +__CSTD FILE* _wpopen (const wchar_t*, const wchar_t*); #endif /* Not __STRICT_ANSI__ */ #endif /* __MSVCRT__ */ |