mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Add definition of socklen_t so that socketmodule.c will compile on Windows.
This commit is contained in:
parent
ff3ab42c04
commit
db575db0d6
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue