updates dependencies
This commit is contained in:
parent
76360ddbc2
commit
8e748aaa90
303 changed files with 21324 additions and 13824 deletions
3
vendor/golang.org/x/sys/windows/dll_windows.go
generated
vendored
3
vendor/golang.org/x/sys/windows/dll_windows.go
generated
vendored
|
|
@ -32,6 +32,8 @@ type DLLError struct {
|
|||
|
||||
func (e *DLLError) Error() string { return e.Msg }
|
||||
|
||||
func (e *DLLError) Unwrap() error { return e.Err }
|
||||
|
||||
// A DLL implements access to a single DLL.
|
||||
type DLL struct {
|
||||
Name string
|
||||
|
|
@ -389,7 +391,6 @@ func loadLibraryEx(name string, system bool) (*DLL, error) {
|
|||
var flags uintptr
|
||||
if system {
|
||||
if canDoSearchSystem32() {
|
||||
const LOAD_LIBRARY_SEARCH_SYSTEM32 = 0x00000800
|
||||
flags = LOAD_LIBRARY_SEARCH_SYSTEM32
|
||||
} else if isBaseName(name) {
|
||||
// WindowsXP or unpatched Windows machine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue