Add _get_output_format(), _set_output_format() for MSVCRT >= MSVCR80

This commit is contained in:
Keith Marshall 2008-07-01 22:57:24 +00:00
parent 4534778c4c
commit 278101de7f
3 changed files with 24 additions and 6 deletions

View File

@ -1,3 +1,14 @@
2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
* msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
(_get_output_format, _set_output_format): Add references.
* include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
(_get_output_format, _set_output_format): Declare prototypes.
(_TWO_DIGIT_EXPONENT): Define.
Some other minor formatting adjustments.
2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
[mingw-Bugs-1801641]

View File

@ -386,16 +386,21 @@ _CRTIMP int __cdecl __MINGW_NOTHROW _fgetchar (void);
_CRTIMP int __cdecl __MINGW_NOTHROW _fputchar (int);
_CRTIMP FILE* __cdecl __MINGW_NOTHROW _fdopen (int, const char*);
_CRTIMP int __cdecl __MINGW_NOTHROW _fileno (FILE*);
_CRTIMP int __cdecl __MINGW_NOTHROW _fcloseall(void);
_CRTIMP FILE* __cdecl __MINGW_NOTHROW _fsopen(const char*, const char*, int);
_CRTIMP int __cdecl __MINGW_NOTHROW _fcloseall (void);
_CRTIMP FILE* __cdecl __MINGW_NOTHROW _fsopen (const char*, const char*, int);
#ifdef __MSVCRT__
_CRTIMP int __cdecl __MINGW_NOTHROW _getmaxstdio(void);
_CRTIMP int __cdecl __MINGW_NOTHROW _setmaxstdio(int);
_CRTIMP int __cdecl __MINGW_NOTHROW _getmaxstdio (void);
_CRTIMP int __cdecl __MINGW_NOTHROW _setmaxstdio (int);
#endif
#if __MSVCRT_VERSION__ >= 0x800
_CRTIMP int __cdecl __MINGW_NOTHROW _set_printf_count_output(int);
_CRTIMP int __cdecl __MINGW_NOTHROW _get_printf_count_output(void);
_CRTIMP unsigned int __cdecl __MINGW_NOTHROW _get_output_format (void);
_CRTIMP unsigned int __cdecl __MINGW_NOTHROW _set_output_format (unsigned int);
#define _TWO_DIGIT_EXPONENT 1
_CRTIMP int __cdecl __MINGW_NOTHROW _get_printf_count_output (void);
_CRTIMP int __cdecl __MINGW_NOTHROW _set_printf_count_output (int);
#endif
#ifndef _NO_OLDNAMES

View File

@ -810,6 +810,8 @@ _set_SSE2_enable
#endif /* 7.1 */
#if ( __msvcr80__ || __msvcr80d__ || __msvcr90__ || __msvcr90d__)
; msvcr80.dll
_get_output_format
_set_output_format
_get_printf_count_output
_set_printf_count_output
_set_abort_behavior