From 819442bfbd95263ae86b3eb7ad1ecffa92f475c8 Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Fri, 24 May 2019 13:41:47 +0300 Subject: [PATCH] QueryUnbiasedInterruptTime must be load from kernel32.dll This fixes https://github.com/git-for-windows/git/issues/2407 Signed-off-by: Alexey Pavlov Signed-off-by: Johannes Schindelin --- winsup/cygwin/autoload.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 613a0199cc..61c2808575 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -595,7 +595,7 @@ LoadDLLfunc (SetThreadGroupAffinity, 12, kernel32) available via KernelBase.dll. */ LoadDLLfunc (QueryInterruptTime, 4, KernelBase) LoadDLLfunc (QueryInterruptTimePrecise, 4, KernelBase) -LoadDLLfunc (QueryUnbiasedInterruptTime, 4, KernelBase) +LoadDLLfunc (QueryUnbiasedInterruptTime, 4, kernel32) LoadDLLfunc (QueryUnbiasedInterruptTimePrecise, 4, KernelBase) LoadDLLfunc (VirtualAlloc2, 28, kernelbase)