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
0b72ccff
Commit
0b72ccff
authored
Sep 11, 2019
by
Steve Dower
Committed by
Zachary Ware
Sep 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-32592: Set Windows 8 as the minimum required version for API support (GH-15951)
parent
e6557d3c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
Misc/NEWS.d/next/Windows/2019-09-11-14-51-56.bpo-32592.jvQMD9.rst
...S.d/next/Windows/2019-09-11-14-51-56.bpo-32592.jvQMD9.rst
+1
-0
Modules/posixmodule.c
Modules/posixmodule.c
+0
-2
PC/pyconfig.h
PC/pyconfig.h
+3
-3
No files found.
Misc/NEWS.d/next/Windows/2019-09-11-14-51-56.bpo-32592.jvQMD9.rst
0 → 100644
View file @
0b72ccff
Set Windows 8 as the minimum required version for API support
Modules/posixmodule.c
View file @
0b72ccff
...
...
@@ -12204,8 +12204,6 @@ os_cpu_count_impl(PyObject *module)
{
int
ncpu
=
0
;
#ifdef MS_WINDOWS
/* Declare prototype here to avoid pulling in all of the Win7 APIs in 3.8 */
DWORD
WINAPI
GetActiveProcessorCount
(
WORD
group
);
ncpu
=
GetActiveProcessorCount
(
ALL_PROCESSOR_GROUPS
);
#elif defined(__hpux)
ncpu
=
mpctl
(
MPC_GETNUMSPUS
,
NULL
,
NULL
);
...
...
PC/pyconfig.h
View file @
0b72ccff
...
...
@@ -135,9 +135,9 @@ WIN32 is still required for the locale module.
#endif
/* MS_WIN64 */
/* set the version macros for the windows headers */
/* Python 3.
5+ requires Windows Vista
or greater */
#define Py_WINVER 0x060
0
/* _WIN32_WINNT_VISTA
*/
#define Py_NTDDI NTDDI_
VISTA
/* Python 3.
9+ requires Windows 8
or greater */
#define Py_WINVER 0x060
2
/* _WIN32_WINNT_WIN8
*/
#define Py_NTDDI NTDDI_
WIN8
/* We only set these values when building Python - we don't want to force
these values on extensions, as that will affect the prototypes and
...
...
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