From 753bdc0f47a4224387a31b92403ab543e9fbebfe Mon Sep 17 00:00:00 2001 From: Mikio Hara Date: Fri, 28 Mar 2014 13:27:14 +0900 Subject: [PATCH] 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 --- src/pkg/syscall/mkerrors.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pkg/syscall/mkerrors.sh b/src/pkg/syscall/mkerrors.sh index 2d33f24194..7ddd478455 100755 --- a/src/pkg/syscall/mkerrors.sh +++ b/src/pkg/syscall/mkerrors.sh @@ -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)/ || -- 2.50.0