From e8420aaed73a4a104d233bcb07b4a9eeefd60345 Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 14 Feb 2022 13:48:48 -0800 Subject: [PATCH] fix building for windows freebsd --- weed/command/mount2_notsupported.go | 4 ++-- weed/command/mount2_std.go | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/weed/command/mount2_notsupported.go b/weed/command/mount2_notsupported.go index 18734035e..075b73436 100644 --- a/weed/command/mount2_notsupported.go +++ b/weed/command/mount2_notsupported.go @@ -1,5 +1,5 @@ -//go:build !linux && !darwin && !freebsd -// +build !linux,!darwin,!freebsd +//go:build !linux && !darwin +// +build !linux,!darwin package command diff --git a/weed/command/mount2_std.go b/weed/command/mount2_std.go index 97cbcfd36..89935e684 100644 --- a/weed/command/mount2_std.go +++ b/weed/command/mount2_std.go @@ -1,3 +1,6 @@ +//go:build linux || darwin +// +build linux darwin + package command import (