X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc6eda546bcbd2f737ee6ded4973a8c5a5d40427..88b792af94fe4a2d0f14a2c4c6b85ff3c4bd49a5:/Mingw32-gcc295.patches diff --git a/Mingw32-gcc295.patches b/Mingw32-gcc295.patches index c0d643fd8f..372729a723 100644 --- a/Mingw32-gcc295.patches +++ b/Mingw32-gcc295.patches @@ -142,3 +142,28 @@ PURE; #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 ++ + +