mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
golang.org/x/sys/unix currently does not compile on mips nor mipsle as it fails to set the `isBigEndian` variable. This is due to mips and mipsle being missing in the build tag of their respective endian files. This change adds mips to the build tag of `endian_big.go` and mipsle to the build tag of `endian_little.go` to fix this issue. Change-Id: I79947cedb2645e80143e65bde00f2c95261125fb Reviewed-on: https://go-review.googlesource.com/39730 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
10 lines
236 B
Go
10 lines
236 B
Go
// Copyright 2016 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.
|
|
//
|
|
// +build ppc64 s390x mips mips64
|
|
|
|
package unix
|
|
|
|
const isBigEndian = true
|