diff options
author | Steve Dower <steve.dower@python.org> | 2019-09-11 16:03:37 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2019-09-11 16:03:37 (GMT) |
commit | 0b72ccff56fb47e14f7b1f6590eafff8d104c229 (patch) | |
tree | 05acee2cd93a5c92d75dc50662182b773a980651 /Modules/posixmodule.c | |
parent | e6557d3c62800f51ee6530c94a10b93d725504fa (diff) | |
download | cpython-0b72ccff56fb47e14f7b1f6590eafff8d104c229.zip cpython-0b72ccff56fb47e14f7b1f6590eafff8d104c229.tar.gz cpython-0b72ccff56fb47e14f7b1f6590eafff8d104c229.tar.bz2 |
bpo-32592: Set Windows 8 as the minimum required version for API support (GH-15951)
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 089572f..e71d4b2 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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); |