Files that are suffixed with `_linux.go` or `_windows.go` are already only built on Linux / Windows, so these build-tags were redundant. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 6ed1163c98703f8dd0693cecbadc84d2cda811c3 Component: engine
12 lines
277 B
Go
12 lines
277 B
Go
package system
|
|
|
|
// Mknod is not implemented on Windows.
|
|
func Mknod(path string, mode uint32, dev int) error {
|
|
return ErrNotSupportedPlatform
|
|
}
|
|
|
|
// Mkdev is not implemented on Windows.
|
|
func Mkdev(major int64, minor int64) uint32 {
|
|
panic("Mkdev not implemented on Windows.")
|
|
}
|