mirror of https://github.com/python/cpython
Add definition of socklen_t so that socketmodule.c will compile on Windows.
This commit is contained in:
parent
ff3ab42c04
commit
db575db0d6
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue