Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

support mips64le #496

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions terminal/runereader_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Copyright 2013 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 && !ppc64le
// +build linux,!ppc64le
//go:build linux && !ppc64le && !mips64le
// +build linux,!ppc64le,!mips64le

package terminal

Expand Down
8 changes: 8 additions & 0 deletions terminal/runereader_mips64le.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//go:build mips64le && linux
// +build mips64le,linux

package terminal

// Used syscall numbers from https://github.com/golang/go/blob/master/src/syscall/ztypes_linux_mips64le.go
const ioctlReadTermios = 0x540d // syscall.TCGETS
const ioctlWriteTermios = 0x540e // syscall.TCSETS