Skip to content

Commit facee9e

Browse files
authored
Fix build constraints for OSes other than Linux (#53)
Signed-off-by: knqyf263 <[email protected]>
1 parent 2f85daf commit facee9e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/ndb/syscall_windows.go renamed to pkg/ndb/syscall.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build windows
1+
//go:build !linux
22

33
package ndb
44

pkg/ndb/syscall_generic.go renamed to pkg/ndb/syscall_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build linux || darwin
1+
//go:build linux
22

33
package ndb
44

0 commit comments

Comments
 (0)