mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
Issue #23451: Update pyconfig.h for Windows to require Vista headers and remove unnecessary version checks.
This commit is contained in:
parent
2f3d440549
commit
3e96f324dc
6 changed files with 29 additions and 68 deletions
|
|
@ -14,6 +14,13 @@
|
|||
|
||||
#else /* MS_WINDOWS */
|
||||
# include <winsock2.h>
|
||||
/* Windows 'supports' CMSG_LEN, but does not follow the POSIX standard
|
||||
* interface at all, so there is no point including the code that
|
||||
* attempts to use it.
|
||||
*/
|
||||
# ifdef PySocket_BUILDING_SOCKET
|
||||
# undef CMSG_LEN
|
||||
# endif
|
||||
# include <ws2tcpip.h>
|
||||
/* VC6 is shipped with old platform headers, and does not have MSTcpIP.h
|
||||
* Separate SDKs have all the functions we want, but older ones don't have
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue