From 51471a1074c04251a2e88942c3724bb6e2b312f2 Mon Sep 17 00:00:00 2001 From: Ron Lee Date: Sat, 13 Nov 1999 06:10:03 +0000 Subject: [PATCH] added patch for _(v)snprintf protos in stdio.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- Mingw32-gcc295.patches | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Mingw32-gcc295.patches b/Mingw32-gcc295.patches index 81af4f6609..ab44761a4e 100644 --- a/Mingw32-gcc295.patches +++ b/Mingw32-gcc295.patches @@ -112,5 +112,20 @@ PURE; STDMETHOD(EnumDAdvise)(THIS_ IEnumSTATDATA**); +--- i386-mingw32\include\stdio.h Sun Aug 1 06:18:20 1999 ++++ stdio.h Sun Nov 7 03:41:40 1999 +@@ -203,9 +203,12 @@ + int fprintf (FILE* filePrintTo, const char* szFormat, ...); + int printf (const char* szFormat, ...); + int sprintf (char* caBuffer, const char* szFormat, ...); ++int _snprintf (char* caBuffer, size_t n, const char* szFormat, ...); + int vfprintf (FILE* filePrintTo, const char* szFormat, va_list varg); + int vprintf (const char* szFormat, va_list varg); + int vsprintf (char* caBuffer, const char* szFormat, va_list varg); ++int _vsnprintf (char* caBuffer, size_t n, const char* szFormat, ++ va_list varg); + + /* Wide character versions */ + int fwprintf (FILE* filePrintTo, const wchar_t* wsFormat, ...);