From 26cc7769b4b587564b610845eed9bf4efb1b16f7 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 17 Dec 2019 16:44:54 +0100 Subject: [PATCH] Cygwin: autoload: Add missing GetProcessGroupAffinity/GetThreadGroupAffinity Both functions were introduce with Windows 7 only, so we need to autoload them for the sake of Vista/2008. Signed-off-by: Corinna Vinschen --- winsup/cygwin/autoload.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 1851ab3b6..454bf514c 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -584,7 +584,9 @@ LoadDLLfunc (if_nametoindex, 4, iphlpapi) LoadDLLfuncEx2 (DiscardVirtualMemory, 8, kernel32, 1, 127) LoadDLLfunc (GetCurrentProcessorNumberEx, 4, kernel32) LoadDLLfuncEx (GetLogicalProcessorInformationEx, 12, kernel32, 1) +LoadDLLfuncEx (GetProcessGroupAffinity, 12, kernel32, 1) LoadDLLfunc (GetSystemTimePreciseAsFileTime, 4, kernel32) +LoadDLLfuncEx (GetThreadGroupAffinity, 8, kernel32, 1) LoadDLLfuncEx (PrefetchVirtualMemory, 16, kernel32, 1) LoadDLLfunc (SetThreadGroupAffinity, 12, kernel32)