From 0bdbd49eac6ced7fbf6b5d2f5a13d7e9f3df54db Mon Sep 17 00:00:00 2001 From: Urs Janssen Date: Sun, 17 Feb 2013 00:48:51 +0100 Subject: add version number to manpage avoid c++/c99 style comments in preprocessor directives avoid leadings whitespaces in preprocessor directives mention implemented variable length arrays in documentation fixed ambiguous option in texi2html call (Austin English) --- win32/include/stdio.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'win32/include/stdio.h') diff --git a/win32/include/stdio.h b/win32/include/stdio.h index 627fc92..da88793 100644 --- a/win32/include/stdio.h +++ b/win32/include/stdio.h @@ -241,8 +241,8 @@ extern FILE (*_imp___iob)[]; /* A pointer to an array of FILE */ /* Make sure macros are not defined. */ #pragma push_macro("vsnprintf") #pragma push_macro("snprintf") - #undef vsnprintf - #undef snprintf +# undef vsnprintf +# undef snprintf extern __attribute__((format(gnu_printf, 3, 0))) __attribute__((nonnull (3))) int __mingw_vsnprintf(char *_DstBuf,size_t _MaxCount,const char *_Format,va_list _ArgList); @@ -267,14 +267,14 @@ extern FILE (*_imp___iob)[]; /* A pointer to an array of FILE */ #pragma pop_macro("snprintf") #pragma pop_macro("vsnprintf") /* Check if vsnprintf and snprintf are defaulting to gnu-style. */ - #if defined(USE_MINGW_GNU_SNPRINTF) && USE_MINGW_GNU_SNPRINTF - #ifndef vsnprint - #define vsnprintf __mingw_vsnprintf - #endif - #ifndef snprintf - #define snprintf __mingw_snprintf - #endif - #endif +# if defined(USE_MINGW_GNU_SNPRINTF) && USE_MINGW_GNU_SNPRINTF +# ifndef vsnprint +# define vsnprintf __mingw_vsnprintf +# endif +# ifndef snprintf +# define snprintf __mingw_snprintf +# endif +# endif _CRTIMP int __cdecl _vscprintf(const char *_Format,va_list _ArgList); _CRTIMP int __cdecl _set_printf_count_output(int _Value); _CRTIMP int __cdecl _get_printf_count_output(void); -- cgit v1.3.1