From afeca5c22ded0be2bafe6caa092280d1f8dd768a Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 12 Jan 2015 14:03:59 -0800 Subject: build: update Windows make.bat for Go-based dist These are corresponding Windows changes for the GOROOT_BOOTSTRAP and dist changes in https://golang.org/cl/2470 Change-Id: I21da2d63a60d8ae278ade9bb71ae0c314a2cf9b5 Reviewed-on: https://go-review.googlesource.com/2674 Reviewed-by: Alex Brainman --- src/cmd/dist/sys_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/dist/sys_windows.go') diff --git a/src/cmd/dist/sys_windows.go b/src/cmd/dist/sys_windows.go index c6867fb895..e9bfe9e3d9 100644 --- a/src/cmd/dist/sys_windows.go +++ b/src/cmd/dist/sys_windows.go @@ -11,7 +11,7 @@ import ( var ( modkernel32 = syscall.NewLazyDLL("kernel32.dll") - procGetSystemInfo = syscall.NewProc("GetSystemInfo") + procGetSystemInfo = modkernel32.NewProc("GetSystemInfo") ) // see http://msdn.microsoft.com/en-us/library/windows/desktop/ms724958(v=vs.85).aspx -- cgit v1.2.3-54-g00ecf