mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-06 09:07:16 -04:00
go.sys: fix imports to cgc/p/go.sys, add build tags
Approach but probably not achieve a green build. LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://golang.org/cl/126120043
This commit is contained in:
@@ -661,7 +661,7 @@ const srcTemplate = `
|
||||
package {{packagename}}
|
||||
|
||||
import "unsafe"{{if windowsdot}}
|
||||
import "windows"{{end}}
|
||||
import "code.google.com/p/go.sys/windows"{{end}}
|
||||
|
||||
var (
|
||||
{{template "dlls" .}}
|
||||
|
||||
Reference in New Issue
Block a user