1
0
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:
Mikio Hara 2014-03-28 13:27:14 +09:00
parent 610f395189
commit 753bdc0f47

View File

@ -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)/ ||