mirror of
https://github.com/python/cpython.git
synced 2026-03-27 15:10:56 +00:00
Repair compilation for Visual Studio 2005.
I applied the same changes manually to VS7.1 and VC6 files; completely untested. (Christian, don't try too hard merging this change into py3k. It will be easier to do the same work again on the branch)
This commit is contained in:
parent
41cf50d613
commit
94eba715ad
13 changed files with 69 additions and 40 deletions
|
|
@ -5230,8 +5230,12 @@ init_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