1
0
mirror of https://github.com/golang/go synced 2024-11-19 03:44:40 -07:00

syscall: replace zsyscall_windows_*.go files with a single file

zsyscall_windows_386.go and zsyscall_windows_amd64.go contain same bytes

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/124640043
This commit is contained in:
Alex Brainman 2014-08-20 13:17:45 +10:00
parent e38fa91648
commit b95ed83480
4 changed files with 3 additions and 1855 deletions

View File

@ -244,7 +244,7 @@ esac
case "$GOOS" in
windows)
echo "GOOS= GOARCH= go build mksyscall_windows.go"
echo "./mksyscall_windows syscall_windows.go security_windows.go syscall_$GOOSARCH.go |gofmt >zsyscall_$GOOSARCH.go"
echo "./mksyscall_windows syscall_windows.go security_windows.go |gofmt >zsyscall_windows.go"
echo "rm -f ./mksyscall_windows"
;;
*)

View File

@ -8,14 +8,8 @@ echo mkall_windows.bat must be run from src\pkg\syscall directory
goto :end
:dirok
if "%1"=="386" goto :paramok
if "%1"=="amd64" goto :paramok
echo parameters must be 386 or amd64
goto :end
:paramok
go build mksyscall_windows.go
.\mksyscall_windows syscall_windows.go security_windows.go syscall_windows_%1.go |gofmt >zsyscall_windows_%1.go
.\mksyscall_windows syscall_windows.go security_windows.go |gofmt >zsyscall_windows.go
del mksyscall_windows.exe
:end
:end

File diff suppressed because it is too large Load Diff