mirror of
https://github.com/golang/net.git
synced 2026-03-31 10:27:08 +09:00
RTM_LOCK is no longer defined on OpenBSD as of version 6.4, see https://man.openbsd.org/OpenBSD-6.4/route.4 and https://marc.info/?l=openbsd-tech&m=153018811429193&w=2 CL 419180 broke the build on openbsd/arm64 and openbsd/mips64 due to RTM_LOCK not being defined on these platforms because these ports were based on OpenBSD versions newer than 6.4. Earlier OpenBSD versions are no longer supported since Go 1.15 per https://golang.org/wiki/OpenBSD For golang/go#54035 Change-Id: I476a60ab2a082c7ddc763b5dbaf279ba47dcc1e1 Reviewed-on: https://go-review.googlesource.com/c/net/+/419937 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Bryan Mills <bcmills@google.com>