]> git.saurik.com Git - wxWidgets.git/blobdiff - Mingw32-gcc295.patches
added library target to regen only lib makefiles
[wxWidgets.git] / Mingw32-gcc295.patches
index c0d643fd8f16cd5a1f2c3af5383273660753f209..372729a7231ae7a0f09ccd03d6fd8feddcfafc23 100644 (file)
@@ -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 <windows.h>
+
++#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
++
+
+