During the compilation of gitea on illumos I ran into the issue that both user_posix.go and user_other.go where considered for inclusion by the golang compiler with golang 1.18.
This PR forces the golang compiler to exclude user_other on all platforms mentioned in user_posix.
Testing on Windows should be done for this PR as I do not own any Windows machine and it is likely that user_other.go also conflicts withuser_windows.go.
During the compilation of gitea on illumos I ran into the issue that both
user_posix.go
anduser_other.go
where considered for inclusion by the golang compiler with golang 1.18.This PR forces the golang compiler to exclude user_other on all platforms mentioned in user_posix.
Testing on Windows should be done for this PR as I do not own any Windows machine and it is likely that
user_other.go
also conflicts withuser_windows.go
.