Add definition of socklen_t so that socketmodule.c will compile on Windows.
authorGuido van Rossum <guido@python.org>
Mon, 24 Apr 2000 15:37:34 +0000 (15:37 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 24 Apr 2000 15:37:34 +0000 (15:37 +0000)
PC/config.h

index 915b1c2d8aef15eb31c52ffb494bf13dd6f2323d..729981985f57f2faaddac5d3ebc487c39a6c8752 100644 (file)
@@ -308,6 +308,9 @@ typedef int pid_t;
 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
 /* #undef size_t */
 
+/* Define to `int' if <sys/types.h> doesn't define.  */
+#define socklen_t int
+
 /* Define if you have the ANSI C header files.  */
 #define STDC_HEADERS 1