summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
Diffstat (limited to 'PC')
-rw-r--r--PC/pyconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 6402f1d..b412f77 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -408,7 +408,11 @@ typedef int pid_t;
/* #undef size_t */
/* Define to `int' if <sys/types.h> doesn't define. */
+#if _MSC_VER + 0 >= 1300
+/* VC.NET typedefs socklen_t in ws2tcpip.h. */
+#else
#define socklen_t int
+#endif
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1