Skip to content

Commit 52c7b88

Browse files
author
Bryan C. Mills
committed
gopls/internal/robustio: only define ERROR_SHARING_VIOLATION on Windows
The type syscall.Errno is not defined on plan9, so defining a constant of that type in an unconstrained file causes build errors on the plan9 builders. The ERROR_SHARING_VIOLATION constant is only needed for Windows and only makes sense on that platform, so we move it to a Windows-only file. Change-Id: I4fbad994a71f746523557f82c72c08ddd5fbcb2e Reviewed-on: https://go-review.googlesource.com/c/tools/+/454501 Reviewed-by: Robert Findley <[email protected]> Run-TryBot: Bryan Mills <[email protected]> gopls-CI: kokoro <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Bryan Mills <[email protected]>
1 parent 4f69bf3 commit 52c7b88

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed

0 commit comments

Comments
 (0)