Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
762681b5
Commit
762681b5
authored
Jun 12, 2008
by
Amaury Forgeot d'Arc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slowly apply part of #2065: py3k can be compiled with VS8.0
parent
6166717f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Modules/socketmodule.c
Modules/socketmodule.c
+4
-0
PC/pyconfig.h
PC/pyconfig.h
+2
-2
No files found.
Modules/socketmodule.c
View file @
762681b5
...
...
@@ -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 */
...
...
PC/pyconfig.h
View file @
762681b5
...
...
@@ -158,11 +158,11 @@ WIN32 is still required for the locale module.
/* set the version macros for the windows headers */
#ifdef MS_WINX64
/* 64 bit only runs on XP or greater */
#define Py_WINVER
_WIN32_WINNT_WINXP
#define Py_WINVER
0x0501
/* _WIN32_WINNT_WINXP */
#define Py_NTDDI NTDDI_WINXP
#else
/* Python 2.6+ requires Windows 2000 or greater */
#define Py_WINVER
_WIN32_WINNT_WIN2K
#define Py_WINVER
0x0500
/* _WIN32_WINNT_WIN2K */
#define Py_NTDDI NTDDI_WIN2KSP4
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment