mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00:00
syscall: allow for mksyscall_windows.pl to be used outside of syscall
this change should have been part of fafcd328da73 R=golang-dev, bsiegert CC=golang-dev https://golang.org/cl/5462045
This commit is contained in:
parent
692c31d60a
commit
27cab90363
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ while(<>) {
|
|||
} elsif($rettype eq "error") {
|
||||
# Set $reg to "error" only if returned value indicate failure
|
||||
$body .= "\tif $reg != 0 {\n";
|
||||
$body .= "\t\t$name = Errno($reg)\n";
|
||||
$body .= "\t\t$name = ${syscalldot}Errno($reg)\n";
|
||||
$body .= "\t}\n";
|
||||
} else {
|
||||
$body .= "\t$name = $rettype($reg)\n";
|
||||
|
|
Loading…
Reference in a new issue