projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff3ab42
)
Add definition of socklen_t so that socketmodule.c will compile on Windows.
author
Guido van Rossum
<guido@python.org>
Mon, 24 Apr 2000 15:37:34 +0000
(15:37 +0000)
committer
Guido van Rossum
<guido@python.org>
Mon, 24 Apr 2000 15:37:34 +0000
(15:37 +0000)
PC/config.h
patch
|
blob
|
history
diff --git
a/PC/config.h
b/PC/config.h
index 915b1c2d8aef15eb31c52ffb494bf13dd6f2323d..729981985f57f2faaddac5d3ebc487c39a6c8752 100644
(file)
--- 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