Kaydet (Commit) db575db0 authored tarafından Guido van Rossum's avatar Guido van Rossum

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

üst ff3ab42c
......@@ -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
......
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