summaryrefslogtreecommitdiff
path: root/vendor/github.com/tklauser/go-sysconf/sysconf_unsupported.go
blob: 5aa9119db739cf2d54f591323ecf1780a8bf58bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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

package sysconf

import (
	"fmt"
	"runtime"
)

func sysconf(name int) (int64, error) {
	return -1, fmt.Errorf("unsupported on %s", runtime.GOOS)
}