X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f9ca77023d2391070c13b54411ccd5fe76d5c09..22e90769f8da73d398bd7da83f185263a292972f:/Mingw32-gcc295.patches diff --git a/Mingw32-gcc295.patches b/Mingw32-gcc295.patches index 81af4f6609..c0d643fd8f 100644 --- a/Mingw32-gcc295.patches +++ b/Mingw32-gcc295.patches @@ -112,5 +112,33 @@ 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, ...); + + + +--- i386-mingw32\include\winbase.h Sat Jul 31 17:48:48 1999 ++++ winbase.h Fri Feb 25 01:49:08 2000 +@@ -989,7 +989,7 @@ + BOOL WINAPI CopyFileExW(LPCWSTR,LPCWSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD); + #define RtlMoveMemory memmove + #define RtlCopyMemory memcpy +-#define RtlFillMemory memset ++#define RtlFillMemory(d,l,f) memset ((d),(f),(l)) + #define RtlZeroMemory(d,l) memset((d),0,(l)) + #define MoveMemory RtlMoveMemory + #define CopyMemory RtlCopyMemory