Skip to content

Commit 81b70f3

Browse files
committed
syscall: make mksyscall_windows.go -systemdll flag true by default
Updates #15167 Change-Id: I826f67e75011ba79325a1294ac0d70d7c6a3e32f Reviewed-on: https://go-review.googlesource.com/23022 Reviewed-by: Brad Fitzpatrick <[email protected]> Run-TryBot: Alex Brainman <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent 21d7810 commit 81b70f3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/internal/syscall/windows/registry/syscall.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ package registry
88

99
import "syscall"
1010

11-
//go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go -systemdll syscall.go
11+
//go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go syscall.go
1212

1313
const (
1414
_REG_OPTION_NON_VOLATILE = 0

src/internal/syscall/windows/syscall_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package windows
66

77
import "syscall"
88

9-
//go:generate go run ../../../syscall/mksyscall_windows.go -output zsyscall_windows.go -systemdll syscall_windows.go
9+
//go:generate go run ../../../syscall/mksyscall_windows.go -output zsyscall_windows.go syscall_windows.go
1010

1111
const GAA_FLAG_INCLUDE_PREFIX = 0x00000010
1212

src/syscall/mksyscall_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ import (
6868
var (
6969
filename = flag.String("output", "", "output file name (standard output if omitted)")
7070
printTraceFlag = flag.Bool("trace", false, "generate print statement after every syscall")
71-
systemDLL = flag.Bool("systemdll", false, "whether all DLLs should be loaded from the Windows system directory")
71+
systemDLL = flag.Bool("systemdll", true, "whether all DLLs should be loaded from the Windows system directory")
7272
)
7373

7474
func trim(s string) string {

0 commit comments

Comments
 (0)