mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
bpo-32592: Set Windows 8 as the minimum required version for API support (GH-15951)
This commit is contained in:
parent
e6557d3c62
commit
0b72ccff56
3 changed files with 4 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue