Commit 31e0b7a2 authored by Guido van Rossum's avatar Guido van Rossum

Add definition of socklen_t so that socketmodule.c will compile on Windows.

parent 7b0bf1db
...@@ -308,6 +308,9 @@ typedef int pid_t; ...@@ -308,6 +308,9 @@ typedef int pid_t;
/* Define to `unsigned' if <sys/types.h> doesn't define. */ /* Define to `unsigned' if <sys/types.h> doesn't define. */
/* #undef size_t */ /* #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 if you have the ANSI C header files. */
#define STDC_HEADERS 1 #define STDC_HEADERS 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment