X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51471a1074c04251a2e88942c3724bb6e2b312f2..36a56c6568bd29350a24f32bf5bbad0532a42a19:/Mingw32-gcc295.patches?ds=sidebyside diff --git a/Mingw32-gcc295.patches b/Mingw32-gcc295.patches index ab44761a4e..372729a723 100644 --- a/Mingw32-gcc295.patches +++ b/Mingw32-gcc295.patches @@ -129,3 +129,41 @@ PURE; 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 + +--- i386-mingw32\include\winsock.h Sat Jul 31 17:48:50 1999 ++++ winsock.h Mon Mar 20 13:47:12 2000 +@@ -13,6 +13,10 @@ + #define _GNU_H_WINDOWS32_SOCKETS + #include + ++#ifdef __cplusplus ++extern "C" { ++#endif ++ + #ifndef _SYS_TYPES_H + typedef unsigned char u_char; + typedef unsigned short u_short; +@@ -495,4 +499,9 @@ + typedef struct timeval TIMEVAL; + typedef struct timeval *PTIMEVAL; + typedef struct timeval *LPTIMEVAL; ++ ++#ifdef __cplusplus ++} + #endif ++#endif ++ + +