diff options
| author | chrislu <chris.lu@gmail.com> | 2022-02-14 13:48:48 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-02-14 13:48:48 -0800 |
| commit | e8420aaed73a4a104d233bcb07b4a9eeefd60345 (patch) | |
| tree | 87adfefd89d3af42e7445e1645afe3e22d836bfc | |
| parent | ff666104c45acb38f3e9deb60702885fe3491fe3 (diff) | |
| download | seaweedfs-e8420aaed73a4a104d233bcb07b4a9eeefd60345.tar.xz seaweedfs-e8420aaed73a4a104d233bcb07b4a9eeefd60345.zip | |
fix building for windows freebsd
| -rw-r--r-- | weed/command/mount2_notsupported.go | 4 | ||||
| -rw-r--r-- | 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 ( |
