mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
Add mips64le
This commit is contained in:
@@ -12,7 +12,8 @@ import "runtime"
|
||||
// SysvShmCtl performs control operations on the shared memory segment
|
||||
// specified by id.
|
||||
func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) {
|
||||
if runtime.GOARCH == "arm" || runtime.GOARCH == "mips64" {
|
||||
if runtime.GOARCH == "arm" ||
|
||||
runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" {
|
||||
cmd |= ipc_64
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user