mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Restore support for Microsoft VC6 compiler.
Some functions in the msvcrt module are skipped, and socket.ioctl is enabled only when using a more recent Platform SDK. (and yes, there are still companies that use a 10-years old compiler)
This commit is contained in:
parent
114f7e5fff
commit
a4dd2e20e2
8 changed files with 35 additions and 26 deletions
|
@ -467,13 +467,6 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
|
|||
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
||||
/* #undef size_t */
|
||||
|
||||
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||
#if _MSC_VER + 0 >= 1300
|
||||
/* VC.NET typedefs socklen_t in ws2tcpip.h. */
|
||||
#else
|
||||
#define socklen_t int
|
||||
#endif
|
||||
|
||||
/* Define if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue