mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 03:27:46 +08:00
Cygwin: revert autoloading of DiscardVirtualMemory
Commit a3ae2a734892 ("Cygwin: don't autoload some kernel32 functions") erroneously removed DiscardVirtualMemory from the list of autloaded functions. DiscardVirtualMemory is not available on Windows 8.1. Fixes: a3ae2a734892 ("Cygwin: don't autoload some kernel32 functions") Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
127166f707
commit
013de6b097
@ -465,6 +465,7 @@ LoadDLLfunc (GetUdpTable, iphlpapi)
|
||||
LoadDLLfunc (if_indextoname, iphlpapi)
|
||||
LoadDLLfunc (if_nametoindex, iphlpapi)
|
||||
|
||||
LoadDLLfuncEx2 (DiscardVirtualMemory, kernel32, 1, 127)
|
||||
LoadDLLfuncEx (ClosePseudoConsole, kernel32, 1)
|
||||
LoadDLLfuncEx (CreatePseudoConsole, kernel32, 1)
|
||||
LoadDLLfuncEx (IsWow64Process2, kernel32, 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user