From df6aa4c34b6e138a40ae328c4595a6cfbb2d976d Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Fri, 2 Aug 2024 21:09:28 +0200 Subject: [PATCH] enable building for solaris (#2183) --- irc/flock/flock.go | 2 +- irc/flock/{flock_plan9.go => flock_unsupported.go} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename irc/flock/{flock_plan9.go => flock_unsupported.go} (79%) diff --git a/irc/flock/flock.go b/irc/flock/flock.go index 42d89270..5f4f5913 100644 --- a/irc/flock/flock.go +++ b/irc/flock/flock.go @@ -1,4 +1,4 @@ -//go:build !plan9 +//go:build !(plan9 || solaris) package flock diff --git a/irc/flock/flock_plan9.go b/irc/flock/flock_unsupported.go similarity index 79% rename from irc/flock/flock_plan9.go rename to irc/flock/flock_unsupported.go index 06ffeb7c..8cb5e587 100644 --- a/irc/flock/flock_plan9.go +++ b/irc/flock/flock_unsupported.go @@ -1,4 +1,4 @@ -//go:build plan9 +//go:build plan9 || solaris package flock