mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Slowly apply part of #2065: py3k can be compiled with VS8.0
This commit is contained in:
parent
6166717fa4
commit
762681b515
2 changed files with 6 additions and 2 deletions
|
|
@ -5001,8 +5001,12 @@ PyInit__socket(void)
|
|||
PyModule_AddIntConstant(m, "RCVALL_OFF", RCVALL_OFF);
|
||||
PyModule_AddIntConstant(m, "RCVALL_ON", RCVALL_ON);
|
||||
PyModule_AddIntConstant(m, "RCVALL_SOCKETLEVELONLY", RCVALL_SOCKETLEVELONLY);
|
||||
#ifdef RCVALL_IPLEVEL
|
||||
PyModule_AddIntConstant(m, "RCVALL_IPLEVEL", RCVALL_IPLEVEL);
|
||||
#endif
|
||||
#ifdef RCVALL_MAX
|
||||
PyModule_AddIntConstant(m, "RCVALL_MAX", RCVALL_MAX);
|
||||
#endif
|
||||
#endif /* _MSTCPIP_ */
|
||||
|
||||
/* Initialize gethostbyname lock */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue