diff options
author | Guido van Rossum <guido@python.org> | 2000-04-24 15:37:34 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-04-24 15:37:34 (GMT) |
commit | db575db0d6503a8acdb0f56ce74a339bf63c9a08 (patch) | |
tree | b6054d7748d973ecb0e054bdbf423568de097fa6 | |
parent | ff3ab42c04905f3a7050ab4be1eb421779576e8a (diff) | |
download | cpython-db575db0d6503a8acdb0f56ce74a339bf63c9a08.zip cpython-db575db0d6503a8acdb0f56ce74a339bf63c9a08.tar.gz cpython-db575db0d6503a8acdb0f56ce74a339bf63c9a08.tar.bz2 |
Add definition of socklen_t so that socketmodule.c will compile on Windows.
-rw-r--r-- | PC/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h index 915b1c2..7299819 100644 --- a/PC/config.h +++ b/PC/config.h @@ -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 |