Skip to content

Commit

Permalink
fix:truncate windows package import for NTStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
mertakman committed Dec 18, 2024
1 parent 6d41904 commit 6065256
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/mksyscall/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,7 @@ func generateSyscalls() []byte {
}
zsys := bout.Bytes()
zsys = bytes.ReplaceAll(zsys, []byte("\"internal/syscall/windows/sysdll\""), []byte("\"github.com/microsoft/go-crypto-winnative/internal/sysdll\""))
zsys = bytes.ReplaceAll(zsys, []byte("windows.NTStatus"), []byte("NTStatus"))

return zsys
}

0 comments on commit 6065256

Please sign in to comment.