mirror of
https://github.com/golang/go
synced 2024-11-23 18:30:06 -07:00
syscall: don't generate RTF_BITS constant on OS X Mavericks and beyond
LGTM=iant R=iant, bradfitz CC=golang-codereviews https://golang.org/cl/80700044
This commit is contained in:
parent
610f395189
commit
753bdc0f47
@ -269,6 +269,7 @@ ccflags="$@"
|
||||
$2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|IFAN|RT|RTCF|RTN|RTPROT|RTNH|ARPHRD|ETH_P)_/ ||
|
||||
$2 ~ /^SIOC/ ||
|
||||
$2 ~ /^TIOC/ ||
|
||||
$2 !~ "RTF_BITS" &&
|
||||
$2 ~ /^(IFF|IFT|NET_RT|RTM|RTF|RTV|RTA|RTAX)_/ ||
|
||||
$2 ~ /^BIOC/ ||
|
||||
$2 ~ /^RUSAGE_(SELF|CHILDREN|THREAD)/ ||
|
||||
|
Loading…
Reference in New Issue
Block a user