1// Copyright 2021 Tobias Klauser. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris 6// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris 7 8package sysconf 9 10import ( 11 "fmt" 12 "runtime" 13) 14 15func sysconf(name int) (int64, error) { 16 return -1, fmt.Errorf("unsupported on %s", runtime.GOOS) 17} 18