From: Guido van Rossum Date: Mon, 24 Apr 2000 15:37:34 +0000 (+0000) Subject: Add definition of socklen_t so that socketmodule.c will compile on Windows. X-Git-Tag: v2.0b1~1951 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db575db0d6503a8acdb0f56ce74a339bf63c9a08;p=thirdparty%2FPython%2Fcpython.git Add definition of socklen_t so that socketmodule.c will compile on Windows. --- diff --git a/PC/config.h b/PC/config.h index 915b1c2d8aef..729981985f57 100644 --- a/PC/config.h +++ b/PC/config.h @@ -308,6 +308,9 @@ typedef int pid_t; /* Define to `unsigned' if doesn't define. */ /* #undef size_t */ +/* Define to `int' if doesn't define. */ +#define socklen_t int + /* Define if you have the ANSI C header files. */ #define STDC_HEADERS 1