[Python-checkins] CVS: python/dist/src/PC config.h,1.32,1.33
Guido van Rossum
python-dev@python.org
Mon, 24 Apr 2000 11:37:37 -0400 (EDT)
Update of /projects/cvsroot/python/dist/src/PC
In directory eric:/projects/python/develop/guido/src/PC
Modified Files:
config.h
Log Message:
Add definition of socklen_t so that socketmodule.c will compile on Windows.
Index: config.h
===================================================================
RCS file: /projects/cvsroot/python/dist/src/PC/config.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** config.h 2000/03/29 01:48:29 1.32
--- config.h 2000/04/24 15:37:34 1.33
***************
*** 309,312 ****
--- 309,315 ----
/* #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