Pull request 1816: 5704-rm-endian
Updates #5704. Squashed commit of the following: commit 927faf8c3ae0a5deea651ea4249a90ffc80a21c9 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Apr 11 20:02:52 2023 +0300 all: rm our copy of endian
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
//go:build mips || mips64
|
||||
|
||||
// This file is an adapted version of github.com/josharian/native.
|
||||
|
||||
package aghos
|
||||
|
||||
import "encoding/binary"
|
||||
|
||||
// NativeEndian is the native endianness of this system.
|
||||
var NativeEndian = binary.BigEndian
|
||||
@@ -1,10 +0,0 @@
|
||||
//go:build amd64 || 386 || arm || arm64 || mipsle || mips64le || ppc64le
|
||||
|
||||
// This file is an adapted version of github.com/josharian/native.
|
||||
|
||||
package aghos
|
||||
|
||||
import "encoding/binary"
|
||||
|
||||
// NativeEndian is the native endianness of this system.
|
||||
var NativeEndian = binary.LittleEndian
|
||||
Reference in New Issue
Block a user