mirror of
https://github.com/vishvananda/netlink
synced 2025-01-08 07:59:46 +00:00
dedc638a06
The go get command and make both fail when executed on non-linux platforms. Modified it so that there are no compilation errors when developing in such an environment.
12 lines
144 B
Go
12 lines
144 B
Go
// +build !linux
|
|
|
|
package nl
|
|
|
|
import "encoding/binary"
|
|
|
|
var SupportedNlFamilies = []int{}
|
|
|
|
func NativeEndian() binary.ByteOrder {
|
|
return nil
|
|
}
|