diff options
Diffstat (limited to 'src/internal/syscall/unix/kernel_version_other.go')
-rw-r--r-- | src/internal/syscall/unix/kernel_version_other.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/internal/syscall/unix/kernel_version_other.go b/src/internal/syscall/unix/kernel_version_other.go new file mode 100644 index 0000000..00af9f2 --- /dev/null +++ b/src/internal/syscall/unix/kernel_version_other.go @@ -0,0 +1,11 @@ +// Copyright 2022 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build !linux + +package unix + +func KernelVersion() (major int, minor int) { + return 0, 0 +} |