mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2024-12-24 11:43:12 +00:00
14 lines
500 B
Go
14 lines
500 B
Go
|
//go:build armbe || arm64be || mips || mips64 || mips64p32 || ppc64 || s390 || s390x || sparc || sparc64
|
||
|
// +build armbe arm64be mips mips64 mips64p32 ppc64 s390 s390x sparc sparc64
|
||
|
|
||
|
package internal
|
||
|
|
||
|
import "encoding/binary"
|
||
|
|
||
|
// NativeEndian is set to either binary.BigEndian or binary.LittleEndian,
|
||
|
// depending on the host's endianness.
|
||
|
var NativeEndian binary.ByteOrder = binary.BigEndian
|
||
|
|
||
|
// ClangEndian is set to either "el" or "eb" depending on the host's endianness.
|
||
|
const ClangEndian = "eb"
|