From: Ian Lance Taylor Date: Wed, 8 Apr 2015 14:17:13 +0000 (+0000) Subject: mksysinfo.sh: Define Solaris zone_net_addr_t struct. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d22575b1b63155ef104f74351e169ed8f3e4afb;p=gcc.git mksysinfo.sh: Define Solaris zone_net_addr_t struct. From Rainer Orth. From-SVN: r221920 --- diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index a977f56937b..c2e7c24974a 100755 --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -1273,4 +1273,9 @@ if ! grep 'const SizeofICMPv6Filter ' ${OUT} >/dev/null 2>&1; then echo 'const SizeofICMPv6Filter = 32' >> ${OUT} fi +# The Solaris 11 Update 1 _zone_net_addr_t struct. +grep '^type _zone_net_addr_t ' gen-sysinfo.go | \ + sed -e 's/_in6_addr/[16]byte/' \ + >> ${OUT} + exit $?