diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-04-08 14:17:13 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-04-08 14:17:13 +0000 |
commit | 5d22575b1b63155ef104f74351e169ed8f3e4afb (patch) | |
tree | 0b58e4b9f372a71175d45d72ea696b997aeea919 /libgo | |
parent | 930ee1165d793b5bcfa7284f3b4b69d10f267287 (diff) | |
download | gcc-5d22575b1b63155ef104f74351e169ed8f3e4afb.zip gcc-5d22575b1b63155ef104f74351e169ed8f3e4afb.tar.gz gcc-5d22575b1b63155ef104f74351e169ed8f3e4afb.tar.bz2 |
mksysinfo.sh: Define Solaris zone_net_addr_t struct.
From Rainer Orth.
From-SVN: r221920
Diffstat (limited to 'libgo')
-rwxr-xr-x | libgo/mksysinfo.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index a977f56..c2e7c24 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 $? |