status-go/vendor/github.com/tklauser/go-sysconf/sysconf_unsupported.go

18 lines
469 B
Go

// Copyright 2021 Tobias Klauser. 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 !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
package sysconf
import (
"fmt"
"runtime"
)
func sysconf(name int) (int64, error) {
return -1, fmt.Errorf("unsupported on %s", runtime.GOOS)
}