diff options
author | Ian Lance Taylor <iant@google.com> | 2015-04-08 14:17:13 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2015-04-08 14:17:13 +0000 |
commit | 34b911e9b404bfb1e2129496f0c667eadcf717ef (patch) | |
tree | 0b58e4b9f372a71175d45d72ea696b997aeea919 /libgo | |
parent | d3a474d650f3115138ba46e81e07cc13ce65ecc1 (diff) |
mksysinfo.sh: Define Solaris zone_net_addr_t struct.
From Rainer Orth.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@221920 138bc75d-0d04-0410-961f-82ee72b054a4
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 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 $? |